Skip to content

Commit bd934f7

Browse files
krzkvinodkoul
authored andcommitted
soundwire: qcom: correct setting ignore bit on v1.5.1
According to the comment and to downstream sources, the SWRM_CONTINUE_EXEC_ON_CMD_IGNORE in SWRM_CMD_FIFO_CFG_ADDR register should be set for v1.5.1 and newer, so fix the >= operator. Fixes: 542d349 ("soundwire: qcom: set continue execution flag for ignored commands") Cc: <stable@vger.kernel.org> Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Reviewed-by: Konrad Dybcio <konrad.dybcio@linaro.org> Link: https://lore.kernel.org/r/20230222140343.188691-1-krzysztof.kozlowski@linaro.org Signed-off-by: Vinod Koul <vkoul@kernel.org>
1 parent 83ae1cc commit bd934f7

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

drivers/soundwire/qcom.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -704,7 +704,7 @@ static int qcom_swrm_init(struct qcom_swrm_ctrl *ctrl)
704704
}
705705

706706
/* Configure number of retries of a read/write cmd */
707-
if (ctrl->version > 0x01050001) {
707+
if (ctrl->version >= 0x01050001) {
708708
/* Only for versions >= 1.5.1 */
709709
ctrl->reg_write(ctrl, SWRM_CMD_FIFO_CFG_ADDR,
710710
SWRM_RD_WR_CMD_RETRIES |

0 commit comments

Comments
 (0)