OpenCloudOS-Kernel/sound/soc/samsung
Jonathan Cameron 94f0727483
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>
2022-08-22 14:07:22 +01:00
..
Kconfig ASoC: samsung: Enable compile test 2022-06-27 23:26:50 +01:00
Makefile ASoC: samsung: Add sound support for Midas boards 2020-07-30 21:00:29 +01:00
aries_wm8994.c ASoC: samsung: Use iio_get_channel_type() accessor. 2022-08-22 14:07:22 +01:00
arndale.c ASoC: samsung: Use dev_err_probe() helper 2021-12-20 12:47:22 +00:00
bells.c ASoC: samsung: Constify snd_soc_dapm_{route,widget} structs 2022-04-05 10:23:14 +01:00
dma.h ASoC: samsung: dmaengine: Convert to SPDX License Indentifier 2019-04-19 16:48:52 +01:00
dmaengine.c ASoC: samsung: dmaengine: Convert to SPDX License Indentifier 2019-04-19 16:48:52 +01:00
h1940_uda1380.c ASoC: samsung: h1940_uda1380: include proepr GPIO consumer header 2022-06-27 23:26:51 +01:00
i2s-regs.h ASoC: samsung: i2s: Convert to SPDX License Identifier 2019-04-19 16:49:49 +01:00
i2s.c ASoC: samsung: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:44 +01:00
i2s.h ASoC: samsung: i2s: Convert to SPDX License Identifier 2019-04-19 16:49:49 +01:00
idma.c ASoC: samsung: remove unneeded ret variable 2022-01-24 13:31:56 +00:00
idma.h ASoC: samsung: idma: Convert to SPDX License Identifier 2019-04-19 16:50:17 +01:00
jive_wm8750.c ASoC: samsung: use asoc_substream_to_rtd() 2020-07-23 19:07:26 +01:00
littlemill.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
lowland.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
midas_wm1811.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
neo1973_wm8753.c ASoC: samsung: change neo1973_audio from a global to static 2022-06-30 13:40:29 +01:00
odroid.c ASoC: samsung: Use dev_err_probe() helper 2021-12-20 12:47:22 +00:00
pcm.c ASoC: samsung: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:44 +01:00
pcm.h ASoC: samsung: pcm: Convert to SPDX License Identifier 2019-04-19 16:53:12 +01:00
regs-i2s-v2.h ASoC: samsung: s3c-i2s-v2: Convert to SPDX License Identifier 2019-04-19 16:53:40 +01:00
regs-iis.h ASoC: samsung: s3c24xx-i2s: Convert to SPDX License Identifier 2019-04-19 16:54:00 +01:00
rx1950_uda1380.c ASoC: samsung: change gpiod_speaker_power and rx1950_audio from global to static variables 2022-06-30 10:56:26 +01:00
s3c-i2s-v2.c ASoC: samsung: s3c-i2s-v2: Allow build for unsupported hardware 2022-06-27 23:26:48 +01:00
s3c-i2s-v2.h ASoC: samsung: s3c2412-i2s: avoid hardcoded S3C2410_PA_IIS 2020-08-19 20:15:45 +01:00
s3c24xx-i2s.c ASoC: Refactor non_legacy_dai_naming flag 2022-06-29 16:58:08 +01:00
s3c24xx-i2s.h ASoC: samsung: s3c24xx-i2s: Convert to SPDX License Identifier 2019-04-19 16:54:00 +01:00
s3c24xx_simtec.c ASoC: samsung: s3c24xx_simtec: fix spelling mistake "devicec" -> "device" 2021-09-01 16:46:48 +01:00
s3c24xx_simtec.h ASoC: samsung: s3c24xx_simtec*: Convert to SPDX License Identifier 2019-04-19 16:54:45 +01:00
s3c24xx_simtec_hermes.c ASoC: samsung: s3c24xx_simtec_hermes: use modern dai_link style 2019-06-06 21:30:41 +01:00
s3c24xx_simtec_tlv320aic23.c ASoC: samsung: s3c24xx_simtec_tlv320aic23: use modern dai_link style 2019-06-06 21:30:31 +01:00
s3c24xx_uda134x.c ASoC: samsung: use asoc_substream_to_rtd() 2020-07-23 19:07:26 +01:00
s3c2412-i2s.c ASoC: samsung: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:44 +01:00
s3c2412-i2s.h ASoC: samsung: s3c2412-i2s: Convert to SPDX License Identifier 2019-04-19 16:54:29 +01:00
smartq_wm8987.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
smdk_spdif.c ASoC: samsung: use asoc_substream_to_rtd() 2020-07-23 19:07:26 +01:00
smdk_wm8580.c ASoC: samsung: Constify static snd_soc_ops 2021-07-29 15:35:48 +01:00
smdk_wm8994.c ASoC: samsung: Use dev_err_probe() helper 2021-12-20 12:47:22 +00:00
smdk_wm8994pcm.c ASoC: samsung: Use dev_err_probe() helper 2021-12-20 12:47:22 +00:00
snow.c ASoC: samsung: snow: simplify error handling 2022-06-06 12:35:21 +01:00
spdif.c ASoC: samsung: Migrate to new style legacy DAI naming flag 2022-06-27 13:16:44 +01:00
spdif.h ASoC: samsung: spdif: Convert to SPDX License Identifier 2019-04-19 16:58:21 +01:00
speyside.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00
tm2_wm5110.c ASoC: samsung: Use dev_err_probe() helper 2021-12-20 12:47:22 +00:00
tobermory.c ASoC: soc-card: Create jack kcontrol without pins 2022-04-14 17:37:21 +01:00