Re: [PATCH] mmc: dw_mmc: move host->data_offset init earlier

From: Chris Ball
Date: Fri Mar 22 2013 - 12:45:14 EST


On Tue, Mar 12 2013, James Hogan wrote:
> host->data_offset is initialised at the end of the probe function
> depending on the VERID register, and is used for PIO operations. Move
> this initialisation earlier, before IRQs or slots are initialised, to be
> sure that PIO won't occur prior to host->data_offset being initialised.
> Signed-off-by: James Hogan <james.hogan@xxxxxxxxxx>
> Cc: Seungwon Jeon <tgih.jun@xxxxxxxxxxx>
> Cc: Jaehoon Chung <jh80.chung@xxxxxxxxxxx>
> Cc: Chris Ball <cjb@xxxxxxxxxx>

Thanks, pushed to mmc-next for 3.10.

- Chris.
Chris Ball <cjb@xxxxxxxxxx> <>
One Laptop Per Child
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at
Please read the FAQ at