|
|
@@ -196,7 +196,7 @@ static ssize_t fw_softreg_read(struct file *file, char __user *user_buf,
|
|
|
memset(d->fw_read_buff, 0, FW_REG_BUF);
|
|
|
|
|
|
if (w0_stat_sz > 0)
|
|
|
- __iowrite32_copy(d->fw_read_buff, fw_reg_addr, w0_stat_sz >> 2);
|
|
|
+ __ioread32_copy(d->fw_read_buff, fw_reg_addr, w0_stat_sz >> 2);
|
|
|
|
|
|
for (offset = 0; offset < FW_REG_SIZE; offset += 16) {
|
|
|
ret += snprintf(tmp + ret, FW_REG_BUF - ret, "%#.4x: ", offset);
|