SCR & switch data are read from card as big-endian words and should be
converted to CPU byte order.
Signed-off-by: Yauhen Kharuzhy
---
drivers/mmc/mmc.c | 12 +++-
1 files changed, 7 insertions(+), 5 deletions(-)
diff --git a/drivers/mmc/mmc.c b/drivers/mmc/mmc.c
index b4814d2..596e05
On May 6, 2009, at 4:43 PM, Yauhen Kharuzhy wrote:
> SCR & switch data are read from card as big-endian words and should be
> converted to CPU byte order.
>
> Signed-off-by: Yauhen Kharuzhy
> ---
>
> - if ((switch_status[4] & 0x0f00) == 0x0100)
> + if ((__be32_to_cpu(switch_statu
On Wed, May 6, 2009 at 4:43 PM, Yauhen Kharuzhy wrote:
> SCR & switch data are read from card as big-endian words and should be
> converted to CPU byte order.
>
> Signed-off-by: Yauhen Kharuzhy
Applied to HEAD, first removing the debug output you left in.
Andy
3 matches
Mail list logo