summaryrefslogtreecommitdiffstats
path: root/sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c
diff options
context:
space:
mode:
authorJonathan Cameron <Jonathan.Cameron@huawei.com>2022-08-21 18:09:14 +0200
committerMark Brown <broonie@kernel.org>2022-08-22 15:07:22 +0200
commit94f072748337424c9cf92cd018532a34db3a5516 (patch)
tree90677a3c6234945d621cfa7a1d720e3cd3a2f334 /sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c
parentASoC: soc-pcm.c: summarize related settings at soc_new_pcm() (diff)
downloadlinux-94f072748337424c9cf92cd018532a34db3a5516.tar.xz
linux-94f072748337424c9cf92cd018532a34db3a5516.zip
ASoC: samsung: Use iio_get_channel_type() accessor.
struct iio_chan_spec is meant to be opaque to IIO consumer drivers which should only use the interfaces in linux/iio/consumer.h. Use the provided accessor function to find get the type of the channel instead of directly reading it form the structure. Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com> Cc: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Cc: Sylwester Nawrocki <s.nawrocki@samsung.com> Link: https://lore.kernel.org/r/20220821160914.2207116-1-jic23@kernel.org Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'sound/soc/mediatek/mt8186/mt8186-mt6366-rt1019-rt5682s.c')
0 files changed, 0 insertions, 0 deletions