]> git.ipfire.org Git - people/ms/u-boot.git/commit
mmc: dw_mmc: fix the wrong AND operation
authorJaehoon Chung <jh80.chung@samsung.com>
Fri, 13 May 2016 14:37:44 +0000 (23:37 +0900)
committerMinkyu Kang <mk7.kang@samsung.com>
Mon, 27 Jun 2016 00:43:26 +0000 (09:43 +0900)
commitca2ec9adc951cc3798e9b0c3773cdcc613232a22
tree8c8834f3c23c6dfc5a82e0a7a3000cf862bc4328
parent4141e85bcd79c0b9b16def710e527f165107b7af
mmc: dw_mmc: fix the wrong AND operation

These condition checking are wrong.
Original Author's intention might be "&" instead of "&&".
It can know whether receive or transmit data request with
BIT[4]/BIT[5] of RINTSTS register.

Signed-off-by: Jaehoon Chung <jh80.chung@samsung.com>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
drivers/mmc/dw_mmc.c