summaryrefslogtreecommitdiffstats
path: root/drivers/soundwire/cadence_master.c
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2020-03-17 17:33:25 +0100
committerVinod Koul <vkoul@kernel.org>2020-03-19 08:13:04 +0100
commit91080111f51f89760a0dcd859a4f68b936779fb6 (patch)
tree4102d2a4e9224b1862441e55df3bcc38902e2490 /drivers/soundwire/cadence_master.c
parentsoundwire: cadence: enable NORMAL operation in cdns_init() (diff)
downloadlinux-91080111f51f89760a0dcd859a4f68b936779fb6.tar.xz
linux-91080111f51f89760a0dcd859a4f68b936779fb6.zip
soundwire: cadence: remove PREQ_DELAY assignment
The hardware default is 0x1F, and the existing code does an OR with 0xF. This is a no-op, remove. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20200317163329.25501-14-pierre-louis.bossart@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soundwire/cadence_master.c')
-rw-r--r--drivers/soundwire/cadence_master.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/soundwire/cadence_master.c b/drivers/soundwire/cadence_master.c
index 6adf41e3fdcf..420ad23c5530 100644
--- a/drivers/soundwire/cadence_master.c
+++ b/drivers/soundwire/cadence_master.c
@@ -1107,8 +1107,7 @@ int sdw_cdns_init(struct sdw_cdns *cdns)
/* Multi-master support to be added here */
- /* Set frame delay between PREQ and ping frame to 15 frames */
- val |= 0xF << SDW_REG_SHIFT(CDNS_MCP_CONFIG_MPREQ_DELAY);
+ /* leave frame delay to hardware default of 0x1F */
/* Set Max cmd retry to 15 */
val |= CDNS_MCP_CONFIG_MCMD_RETRY;