mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git
synced 2024-09-15 15:15:47 +00:00
soundwire: qcom: correct setting ignore bit on v1.5.1
commitbd934f77ee
upstream. 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:542d3491cd
("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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
parent
01fefb82fd
commit
3028ac7dc0
1 changed files with 1 additions and 1 deletions
|
@ -640,7 +640,7 @@ static int qcom_swrm_init(struct qcom_swrm_ctrl *ctrl)
|
|||
|
||||
ctrl->reg_write(ctrl, SWRM_MCP_BUS_CTRL, SWRM_MCP_BUS_CLK_START);
|
||||
/* Configure number of retries of a read/write cmd */
|
||||
if (ctrl->version > 0x01050001) {
|
||||
if (ctrl->version >= 0x01050001) {
|
||||
/* Only for versions >= 1.5.1 */
|
||||
ctrl->reg_write(ctrl, SWRM_CMD_FIFO_CFG_ADDR,
|
||||
SWRM_RD_WR_CMD_RETRIES |
|
||||
|
|
Loading…
Reference in a new issue