[PATCH 00/22] ASoC: Use dev_err_probe() helper

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm now posting below patch to ASoC/DT ML,
sorry for my multi post,
but this patch-set is independent from it.

	ASoC: dt-bindings: audio-graph-port: enable both flag/phandle for bitclock/frame-master
	https://lore.kernel.org/r/20211208064852.507977-1-kuninori.morimoto.gx@xxxxxxxxxxx

This patch-set tries to use dev_err_probe() helper function
instead of manual dev_err() code.
I hope ASoC will be more clean code by this patch-set.

	- if (err < 0) {
	-	if (err != -EPROBE_DEFER)
	-		dev_err(...);
	-	return err;
	- }
	+ if (err < 0)
	+	return dev_err_probe(...);

Kuninori Morimoto (22):
  ASoC: codecs: ak4118: Use dev_err_probe() helper
  ASoC: codecs: es7241: Use dev_err_probe() helper
  ASoC: codecs: max9759: Use dev_err_probe() helper
  ASoC: codecs: max9860: Use dev_err_probe() helper
  ASoC: codecs: pcm3168a: Use dev_err_probe() helper
  ASoC: codecs: sgtl5000: Use dev_err_probe() helper
  ASoC: codecs: simple-amplifier: Use dev_err_probe() helper
  ASoC: codecs: simple-mux: Use dev_err_probe() helper
  ASoC: codecs: ssm2305: Use dev_err_probe() helper
  ASoC: codecs: tlv320aic31xx: Use dev_err_probe() helper
  ASoC: ateml: Use dev_err_probe() helper
  ASoC: ti: Use dev_err_probe() helper
  ASoC: fsl: Use dev_err_probe() helper
  ASoC: generic: Use dev_err_probe() helper
  ASoC: img: Use dev_err_probe() helper
  ASoC: meson: Use dev_err_probe() helper
  ASoC: mxs: Use dev_err_probe() helper
  ASoC: qcom: Use dev_err_probe() helper
  ASoC: rockchip: Use dev_err_probe() helper
  ASoC: samsung: Use dev_err_probe() helper
  ASoC: stm: Use dev_err_probe() helper
  ASoC: sunxi: Use dev_err_probe() helper

 sound/soc/atmel/mikroe-proto.c          |  6 +--
 sound/soc/atmel/tse850-pcm5142.c        | 32 +++++--------
 sound/soc/codecs/ak4118.c               | 18 +++----
 sound/soc/codecs/es7241.c               | 28 ++++-------
 sound/soc/codecs/max9759.c              | 28 ++++-------
 sound/soc/codecs/max9860.c              | 12 ++---
 sound/soc/codecs/pcm3168a.c             | 22 +++------
 sound/soc/codecs/sgtl5000.c             |  5 +-
 sound/soc/codecs/simple-amplifier.c     | 10 ++--
 sound/soc/codecs/simple-mux.c           | 10 ++--
 sound/soc/codecs/ssm2305.c              | 11 ++---
 sound/soc/codecs/tlv320aic31xx.c        | 16 ++-----
 sound/soc/fsl/fsl-asoc-card.c           |  3 +-
 sound/soc/fsl/imx-card.c                | 17 +++----
 sound/soc/fsl/imx-sgtl5000.c            |  4 +-
 sound/soc/fsl/imx-spdif.c               |  4 +-
 sound/soc/generic/audio-graph-card.c    |  5 +-
 sound/soc/generic/audio-graph-card2.c   |  4 +-
 sound/soc/generic/simple-card.c         |  3 +-
 sound/soc/img/img-i2s-in.c              |  8 ++--
 sound/soc/img/img-i2s-out.c             | 24 ++++------
 sound/soc/img/img-parallel-out.c        | 24 ++++------
 sound/soc/img/img-spdif-in.c            |  8 ++--
 sound/soc/img/img-spdif-out.c           | 24 ++++------
 sound/soc/img/pistachio-internal-dac.c  |  9 ++--
 sound/soc/meson/aiu.c                   | 36 +++++---------
 sound/soc/meson/axg-fifo.c              | 16 ++-----
 sound/soc/meson/axg-pdm.c               | 25 +++-------
 sound/soc/meson/axg-spdifin.c           | 17 ++-----
 sound/soc/meson/axg-spdifout.c          | 17 ++-----
 sound/soc/meson/axg-tdm-formatter.c     | 50 ++++++--------------
 sound/soc/meson/axg-tdm-interface.c     | 25 +++-------
 sound/soc/meson/meson-card-utils.c      |  8 ++--
 sound/soc/meson/t9015.c                 | 14 ++----
 sound/soc/mxs/mxs-sgtl5000.c            |  8 +---
 sound/soc/qcom/common.c                 | 10 ++--
 sound/soc/rockchip/rk3288_hdmi_analog.c | 10 ++--
 sound/soc/samsung/aries_wm8994.c        | 17 +++----
 sound/soc/samsung/arndale.c             |  5 +-
 sound/soc/samsung/littlemill.c          |  5 +-
 sound/soc/samsung/lowland.c             |  5 +-
 sound/soc/samsung/odroid.c              |  4 +-
 sound/soc/samsung/smdk_wm8994.c         |  4 +-
 sound/soc/samsung/smdk_wm8994pcm.c      |  4 +-
 sound/soc/samsung/snow.c                |  9 ++--
 sound/soc/samsung/speyside.c            |  5 +-
 sound/soc/samsung/tm2_wm5110.c          |  3 +-
 sound/soc/samsung/tobermory.c           |  5 +-
 sound/soc/stm/stm32_i2s.c               | 62 +++++++++----------------
 sound/soc/stm/stm32_sai.c               | 37 ++++++---------
 sound/soc/stm/stm32_sai_sub.c           | 25 ++++------
 sound/soc/stm/stm32_spdifrx.c           | 44 ++++++------------
 sound/soc/sunxi/sun4i-codec.c           |  3 +-
 sound/soc/ti/davinci-mcasp.c            | 10 ++--
 sound/soc/ti/j721e-evm.c                | 10 ++--
 55 files changed, 271 insertions(+), 557 deletions(-)

-- 
2.25.1




[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Pulse Audio]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux