diff options
author | Sebastian Falbesoner <[email protected]> | 2022-11-21 11:57:21 +0100 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2022-11-21 21:10:47 +0100 |
commit | a3cab1d2132474969871b5d7f915c5c0167b48b0 (patch) | |
tree | c5c1ad1cb563f347ce2a9202494e81a98da75911 /lib/mpi/mpi-sub-ui.c | |
parent | 489d144563f23911262a652234b80c70c89c978b (diff) |
mmc: sdhci-esdhc-imx: correct CQHCI exit halt state check
With the current logic the "failed to exit halt state" error would be
shown even if any other bit than CQHCI_HALT was set in the CQHCI_CTL
register, since the right hand side is always true. Fix this by using
the correct operator (bit-wise instead of logical AND) to only check for
the halt bit flag, which was obviously intended here.
Fixes: 85236d2be844 ("mmc: sdhci-esdhc-imx: clear the HALT bit when enable CQE")
Signed-off-by: Sebastian Falbesoner <[email protected]>
Acked-by: Haibo Chen <[email protected]>
Acked-by: Adrian Hunter <[email protected]>
Cc: [email protected]
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-sub-ui.c')
0 files changed, 0 insertions, 0 deletions