@@ -468,7 +468,7 @@ static int handle_data_pio(struct pxa3xx_nand_info *info)
switch (info->state) {
case STATE_PIO_WRITING:
__raw_writesl(info->mmio_base + NDDB, info->data_buff,
- info->data_size << 2);
+ info->data_size >> 2);
enable_int(info, NDSR_CS0_BBD | NDSR_CS0_CMDD);
@@ -480,7 +480,7 @@ static int handle_data_pio(struct pxa3xx_nand_info *info)
break;
case STATE_PIO_READING:
__raw_readsl(info->mmio_base + NDDB, info->data_buff,
- info->data_size << 2);
+ info->data_size >> 2);
break;
default:
printk(KERN_ERR "%s: invalid state %d\n", __func__,