soundwire: qcom: fix an error message in swrm_wait_for_frame_gen_enabled()
authorDan Carpenter <dan.carpenter@oracle.com>
Mon, 7 Mar 2022 12:58:15 +0000 (15:58 +0300)
committerVinod Koul <vkoul@kernel.org>
Tue, 5 Apr 2022 04:19:25 +0000 (09:49 +0530)
commitd146de3430d2b21054f6dc8a890f84062515f4d2
treeb3327df6d212ed38bcacb208312a186bd12c4122
parent3123109284176b1532874591f7c81f3837bbdc17
soundwire: qcom: fix an error message in swrm_wait_for_frame_gen_enabled()

The logical AND && is supposed to be bitwise AND & so it will sometimes
print "connected" instead of "disconnected".

Fixes: 74e79da9fd46 ("soundwire: qcom: add runtime pm support")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Link: https://lore.kernel.org/r/20220307125814.GD16710@kili
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/qcom.c