summaryrefslogtreecommitdiffstats
path: root/drivers/soundwire/cadence_master.c
diff options
context:
space:
mode:
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>2019-08-06 02:55:07 +0200
committerVinod Koul <vkoul@kernel.org>2019-08-21 11:06:01 +0200
commit18046335643de6d21327f5ae034c8fb8463f6715 (patch)
treec9d8875cc024500402bd5dd1b2ed9f7f07b1f8b9 /drivers/soundwire/cadence_master.c
parentsoundwire: intel: prevent possible dereference in hw_params (diff)
downloadlinux-18046335643de6d21327f5ae034c8fb8463f6715.tar.xz
linux-18046335643de6d21327f5ae034c8fb8463f6715.zip
soundwire: intel: fix channel number reported by hardware
On all released Intel controllers (CNL/CML/ICL), PDI2 reports an invalid count, force the correct hardware-supported value This may have to be revisited with platform-specific values if the hardware changes, but for now this is good enough. Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Link: https://lore.kernel.org/r/20190806005522.22642-3-pierre-louis.bossart@linux.intel.com Signed-off-by: Vinod Koul <vkoul@kernel.org>
Diffstat (limited to 'drivers/soundwire/cadence_master.c')
0 files changed, 0 insertions, 0 deletions