mbox series

[v3,0/4] ASoC: fsl: audmix: remove "model" attribute and fix ref leaks

Message ID 1554892629-17646-1-git-send-email-viorel.suman@nxp.com (mailing list archive)
Headers show
Series ASoC: fsl: audmix: remove "model" attribute and fix ref leaks | expand

Message

Viorel Suman April 10, 2019, 10:37 a.m. UTC
The latest audmix patch-set (v5) had the "model" attribute removed as
requested by Nicolin Chen, but looks like (v4) version of DAI driver
reached "for-next" branch - fix this by removing "model" attribute.
Asside of this fix object reference leaks in machine probe reported by
Julia Lawall.

Viorel Suman (4):
  ASoC: fsl_audmix: remove "model" attribute
  dt-bindings: fsl,audmix: remove "model" attribute
  ASoC: imx-audmix: fix object reference leaks in probe
  ASoC: fsl_audmix: cache pdev->dev pointer

Changes since V1:
  a) Removed "model" attribute from dt-bindings documentation
  b) Adressed Daniel's comments

Changes since V2:
  a) Cache pdev->dev pointer in fsl_audmix probe as suggested by Nicolin

 .../devicetree/bindings/sound/fsl,audmix.txt       |  4 --
 sound/soc/fsl/fsl_audmix.c                         | 61 ++++++++++++----------
 sound/soc/fsl/imx-audmix.c                         |  4 ++
 3 files changed, 36 insertions(+), 33 deletions(-)