diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2017-09-21 16:51:36 +0200 |
---|---|---|
committer | Tom Rini <trini@konsulko.com> | 2018-01-19 15:49:23 -0500 |
commit | 29171dcfaa639921954c8b2cd1b7de59888a1081 (patch) | |
tree | ce1b492619686b0beec8fcad315bba755fb4a346 /include/configs/sun9i.h | |
parent | 866bb98468f5a442559825c97e3f1ffd5cf2e8de (diff) |
mmc: omap_hsmmc: Fix incorrect bit operations for disabling a bit
omap_hsmmc driver uses "|" in a couple of places for disabling a bit.
While it's okay to use it in "mmc_reg_out" (since mmc_reg_out has a
_mask_ argument to take care of resetting a bit), it's incorrectly used
for resetting flags in "omap_hsmmc_send_cmd".
Fix it here by using "&= ~()" to reset a bit.
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Jean-Jacques Hiblot <jjhiblot@ti.com>
Reviewed-by: Tom Rini <trini@konsulko.com>
Diffstat (limited to 'include/configs/sun9i.h')
0 files changed, 0 insertions, 0 deletions