1. 25 Mar, 2021 1 commit
  2. 24 Mar, 2021 14 commits
  3. 23 Mar, 2021 2 commits
  4. 22 Mar, 2021 4 commits
  5. 19 Mar, 2021 16 commits
  6. 18 Mar, 2021 3 commits
    • Mark Brown's avatar
      Merge series "ASoC: codecs: remove cppcheck warnings" from Pierre-Louis... · bb9faecc
      Mark Brown authored
      Merge series "ASoC: codecs: remove cppcheck warnings" from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:
      
      Lots of small fixes in various codec drivers that should have no
      functional impact.
      
      Pierre-Louis Bossart (23):
        ASoC: ab8500-codec: remove useless structure
        ASoC: ad1836: remove useless return
        ASoC: adau1977: remove useless return
        ASoC: cros_ec_codec: remove null pointer dereference warning
        ASoC: cx2070x: remove useless assignment
        ASoC: cx2070x: remove duplicate else branch
        ASoC: da7219-aad: remove useless initialization
        ASoC: hdac_hdmi: remove useless initializations
        ASoC: hdac_hdmi: align function arguments
        ASoC: hdmi-codec: remove useless initialization
        ASoC: hdmi-codec: remove unused spk_mask member
        ASoC: max98090: remove useless assignment
        ASoC: mt6358: remove useless initializations
        ASoC: mt6359: remove useless assignment
        ASoC: nau8825: remove useless assignment
        ASoC: pcm1681: remove useless assignment
        ASoC: sigmadsp: align function prototype
        ASoC: sti-sas: remove unused struct members
        ASoC: tas2562: remove useless assignment
        ASoC: tas2562: remove warning on return value
        ASoC: tas2770: remove useless initialization
        ASoC: tlv320dac33: clarify expression
        ASoC: tscs454: remove useless test on PLL disable
      
       sound/soc/codecs/ab8500-codec.c  |  7 -------
       sound/soc/codecs/ad1836.c        |  2 --
       sound/soc/codecs/adau1977.c      |  2 --
       sound/soc/codecs/cros_ec_codec.c |  2 +-
       sound/soc/codecs/cx2072x.c       | 11 ++++-------
       sound/soc/codecs/da7219-aad.c    |  2 +-
       sound/soc/codecs/hdac_hdmi.c     | 14 +++++++-------
       sound/soc/codecs/hdac_hdmi.h     |  2 +-
       sound/soc/codecs/hdmi-codec.c    |  3 +--
       sound/soc/codecs/max98090.c      |  2 +-
       sound/soc/codecs/mt6358.c        |  4 ++--
       sound/soc/codecs/mt6359.c        |  4 ++--
       sound/soc/codecs/nau8825.c       |  2 +-
       sound/soc/codecs/pcm1681.c       |  2 +-
       sound/soc/codecs/sigmadsp.h      |  2 +-
       sound/soc/codecs/sti-sas.c       |  3 ---
       sound/soc/codecs/tas2562.c       |  3 +--
       sound/soc/codecs/tas2770.c       |  2 +-
       sound/soc/codecs/tlv320dac33.c   |  2 +-
       sound/soc/codecs/tscs454.c       |  7 ++++++-
       20 files changed, 32 insertions(+), 46 deletions(-)
      
      --
      2.25.1
      bb9faecc
    • Mark Brown's avatar
      Merge series "Fix reset controls and RPM of NVIDIA Tegra ASoC drivers" from... · cdd23ae6
      Mark Brown authored
      Merge series "Fix reset controls and RPM of NVIDIA Tegra ASoC drivers" from Dmitry Osipenko <digetx@gmail.com>:
      
      Hi,
      
      This series adds missing hardware reset controls to I2S and AC97 drivers,
      corrects runtime PM usage and drivers probe/remove order. Currently drivers
      happen to work properly because reset is implicitly deasserted by tegra-clk
      driver, but clk driver shouldn't touch the resets and we need to fix it
      because this breaks other Tegra drivers. Previously we fixed the resets of
      the AHUB and HDMI codec drivers, but turned out that we missed the I2C and
      AC97 drivers.
      
      Thanks to Paul Fertser for testing the pending clk patches and finding
      that audio got broken on Tegra20 AC100 netbook because of the missing I2S
      reset.
      
      Changelog:
      
      v5: - After taking another look at the drivers I noticed couple more
            things that could be improved. These new patches correct runtime PM
            and probe/remove order of the drivers:
      
              ASoC: tegra20: spdif: Correct driver removal order
              ASoC: tegra20: spdif: Remove handing of disabled runtime PM
              ASoC: tegra20: i2s: Add system level suspend-resume callbacks
              ASoC: tegra20: i2s: Correct driver removal order
              ASoC: tegra20: i2s: Use devm_clk_get()
              ASoC: tegra20: i2s: Remove handing of disabled runtime PM
              ASoC: tegra30: i2s: Correct driver removal order
              ASoC: tegra30: i2s: Use devm_clk_get()
              ASoC: tegra30: i2s: Remove handing of disabled runtime PM
              ASoC: tegra30: ahub: Reset global variable
              ASoC: tegra30: ahub: Correct suspend-resume callbacks
              ASoC: tegra30: ahub: Remove handing of disabled runtime PM
      
      v4: - Added missing prototype for reset_control_bulk_put().
      
      v3: - Fixed reset stubs for !CONFIG_RESET_CONTROLLER.
      
      v2: - After some more testing I found that I2S control logic doesn't require
            I2S clock to be enabled for resetting. Hence it's fine to have I2S to
            be reset by parent AHUB driver, so I dropped "tegra30: i2s: Add reset
            control" patch.
      
          - While I was double-checking resets on Tegra30, I found that that
            Tegra30 I2S driver has a broken runtime PM which doesn't restore
            hardware state on resume and it's lost after AHUB RPM-resume.
            Thus, added this new patch "tegra30: i2s: Restore hardware state
            on runtime PM resume".
      
          - Added new patches which switch AHUB driver to use reset-bulk API.
            I took the RFC patch from Philipp Zabel, fixed it and added
            devm_reset_control_bulk_optional_get_exclusive_released() that
            will be useful for further Tegra GPU patches. This is a minor
            improvement which makes code cleaner.
      
      Dmitry Osipenko (16):
        ASoC: tegra20: ac97: Add reset control
        ASoC: tegra20: i2s: Add reset control
        ASoC: tegra30: i2s: Restore hardware state on runtime PM resume
        ASoC: tegra30: ahub: Switch to use reset-bulk API
        ASoC: tegra20: spdif: Correct driver removal order
        ASoC: tegra20: spdif: Remove handing of disabled runtime PM
        ASoC: tegra20: i2s: Add system level suspend-resume callbacks
        ASoC: tegra20: i2s: Correct driver removal order
        ASoC: tegra20: i2s: Use devm_clk_get()
        ASoC: tegra20: i2s: Remove handing of disabled runtime PM
        ASoC: tegra30: i2s: Correct driver removal order
        ASoC: tegra30: i2s: Use devm_clk_get()
        ASoC: tegra30: i2s: Remove handing of disabled runtime PM
        ASoC: tegra30: ahub: Reset global variable
        ASoC: tegra30: ahub: Correct suspend-resume callbacks
        ASoC: tegra30: ahub: Remove handing of disabled runtime PM
      
      Philipp Zabel (1):
        reset: Add reset_control_bulk API
      
       drivers/reset/core.c            | 215 ++++++++++++++++++++++
       include/linux/reset.h           | 315 ++++++++++++++++++++++++++++++++
       sound/soc/tegra/tegra20_ac97.c  |  21 +++
       sound/soc/tegra/tegra20_ac97.h  |   1 +
       sound/soc/tegra/tegra20_i2s.c   |  60 +++---
       sound/soc/tegra/tegra20_i2s.h   |   1 +
       sound/soc/tegra/tegra20_spdif.c |  16 +-
       sound/soc/tegra/tegra30_ahub.c  | 168 ++++++-----------
       sound/soc/tegra/tegra30_ahub.h  |   5 +-
       sound/soc/tegra/tegra30_i2s.c   |  65 ++-----
       10 files changed, 667 insertions(+), 200 deletions(-)
      
      --
      2.30.2
      
      base-commit: a38fd874
      cdd23ae6
    • Brent Lu's avatar
      ASoC: Intel: sof_rt5682: Add ALC1015Q-VB speaker amp support · ad83b1ad
      Brent Lu authored
      This patch adds jsl_rt5682_rt1015p which supports the RT5682 headset
      codec and ALC1015Q-VB speaker amplifier combination on JasperLake
      platform.
      
      This driver also supports ALC1015Q-CG if running in auto-mode.
      Following table shows the audio interface support of the two
      amplifiers.
      
                | ALC1015Q-CG | ALC1015Q-VB
      =====================================
      I2C       | Yes         | No
      Auto-mode | 48K, 64fs   | 16k, 32fs
                              | 48k, 32fs
                              | 48k, 64fs
      Signed-off-by: default avatarBrent Lu <brent.lu@intel.com>
      Acked-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
      Link: https://lore.kernel.org/r/20210317110824.20814-1-brent.lu@intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      ad83b1ad