[PATCH] mmc: omap_hsmmc: correct precedence of operators

2012-12-20 Thread Sasha Levin
With the current code, the condition in the if() doesn't make much sense due to precedence of operators. Signed-off-by: Sasha Levin sasha.le...@oracle.com --- drivers/mmc/host/omap_hsmmc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/mmc/host/omap_hsmmc.c

Re: [PATCH] mmc: omap_hsmmc: correct precedence of operators

2012-12-20 Thread Felipe Balbi
On Thu, Dec 20, 2012 at 02:11:26PM -0500, Sasha Levin wrote: With the current code, the condition in the if() doesn't make much sense due to precedence of operators. Signed-off-by: Sasha Levin sasha.le...@oracle.com nice catch!!! Acked-by: Felipe Balbi ba...@ti.com ---

Re: [PATCH] mmc: omap_hsmmc: correct precedence of operators

2012-12-20 Thread Paul Walmsley
(cc Tero) Hi, On Thu, 20 Dec 2012, Sasha Levin wrote: With the current code, the condition in the if() doesn't make much sense due to precedence of operators. Signed-off-by: Sasha Levin sasha.le...@oracle.com --- drivers/mmc/host/omap_hsmmc.c | 2 +- 1 file changed, 1 insertion(+), 1