1. 31 10月, 2016 1 次提交
    • C
      ASoC: sun4i-codec: return error code instead of NULL when create_card fails · 85915b63
      Chen-Yu Tsai 提交于
      When sun4i_codec_create_card fails, we do not assign a proper error
      code to the return value. The return value would be 0 from the previous
      function call, or we would have bailed out sooner. This would confuse
      the driver core into thinking the device probe succeeded, when in fact
      it didn't, leaving various devres based resources lingering.
      
      Make the create_card function pass back a meaningful error code, and
      assign it to the return value.
      
      Fixes: 45fb6b6f ("ASoC: sunxi: add support for the on-chip codec on
      		      early Allwinner SoCs")
      Signed-off-by: NChen-Yu Tsai <wens@csie.org>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      85915b63
  2. 27 9月, 2016 1 次提交
  3. 25 9月, 2016 2 次提交
  4. 24 8月, 2016 1 次提交
  5. 12 8月, 2016 1 次提交
  6. 08 8月, 2016 1 次提交
  7. 04 7月, 2016 1 次提交
  8. 01 7月, 2016 1 次提交
  9. 30 6月, 2016 1 次提交
  10. 20 2月, 2016 1 次提交
  11. 23 12月, 2015 1 次提交
  12. 13 12月, 2015 2 次提交
  13. 01 12月, 2015 3 次提交
  14. 05 11月, 2015 1 次提交
    • A
      ASoC: sun4i-codec: use consistent names for PA controls · 474d147a
      Adam Sampson 提交于
      The power amplifier for the headphone output is called "the PA" and "the
      headphone amplifier" in Allwinner's documentation for the A10 and A20.
      sun4i-codec calls it "PA" in some places and "Pre-Amplifier" (which
      isn't really accurate) in others, leading to user-visible controls with
      different names referring to the same device.
      
      When this driver implements audio input, it'll also need to expose
      controls for the line and mic input preamps, so just referring to "the
      Pre-Amplifier" will be ambiguous.
      
      Change it to use "Power Amplifier" consistently for the power
      amplifier's controls.
      Signed-off-by: NAdam Sampson <ats@offog.org>
      Acked-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      474d147a
  15. 07 10月, 2015 1 次提交
    • M
      ASoC: sun4i-codec: Remove the routing property · c570b82c
      Maxime Ripard 提交于
      Most of the boards have their headphone jack directly connected to the
      matching pins of the SoCs. Since most of the time we will have the same
      routing path, it makes no sense to put that in the DTS, since it will only
      be some useless duplication there.
      
      It also fixes the following warning messages that were seen so far, on
      boards where we were using the bindings in the documentation example.
      
      sun4i-codec 1c22c00.codec: ASoC: no sink widget found for Headphone Jack
      sun4i-codec 1c22c00.codec: ASoC: Failed to add route HP Left -> direct -> Headphone Jack
      sun4i-codec 1c22c00.codec: ASoC: no sink widget found for Headphone Jack
      sun4i-codec 1c22c00.codec: ASoC: Failed to add route HP Right -> direct -> Headphone Jack
      Reported-by: NPriit Laes <plaes@plaes.org>
      Signed-off-by: NMaxime Ripard <maxime.ripard@free-electrons.com>
      Signed-off-by: NMark Brown <broonie@kernel.org>
      c570b82c
  16. 01 10月, 2015 2 次提交
  17. 17 9月, 2015 2 次提交