diff options
author | Ravulapati Vishnu vardhan rao | 2020-08-07 21:40:17 +0530 |
---|---|---|
committer | Mark Brown | 2020-08-10 18:42:48 +0100 |
commit | ea7dc097826b06a9746a2e74c2d6e78d35c98088 (patch) | |
tree | 3e7b12dbca1f554c587c1ea61b7ac6b0827dda46 /sound/xen | |
parent | 58ff5f4db1ae07bae553f07f7ba049db2dcf10ae (diff) |
ASoC: amd: Replacing component->name with codec_dai->name.
Replacing string compare with "codec_dai->name" instead of comparing with
"codec_dai->component->name" in hw_params because,
Here the component name for codec RT1015 is "i2c-10EC5682:00"
and will never be "rt1015-aif1" as it is codec-dai->name.
So, strcmp() always compares and fails to set the
sysclk,pll,bratio for expected codec-dai="rt1015-aif1".
Signed-off-by: Ravulapati Vishnu vardhan rao <Vishnuvardhanrao.Ravulapati@amd.com>
Link: https://lore.kernel.org/r/20200807161046.17932-1-Vishnuvardhanrao.Ravulapati@amd.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/xen')
0 files changed, 0 insertions, 0 deletions