1. 18 Mar, 2021 3 commits
  2. 17 Mar, 2021 1 commit
  3. 16 Mar, 2021 8 commits
  4. 12 Mar, 2021 22 commits
  5. 11 Mar, 2021 6 commits
    • Mark Brown's avatar
      Merge series "ASoC: mediatek: mt8183-mt6358: support machine driver for... · 0befe3a0
      Mark Brown authored
      Merge series "ASoC: mediatek: mt8183-mt6358: support machine driver for rt1015p" from Tzung-Bi Shih <tzungbi@google.com>:
      
      The series reuses mt8183-mt6358-ts3a227-max98357.c for supporting
      machine driver with rt1015p speaker amplifier.
      
      The 1st patch adds document for the new proposed compatible string.
      
      The 2nd patch changes the machine driver to support "RT1015P" codec.
      
      Tzung-Bi Shih (2):
        ASoC: dt-bindings: mt8183: add compatible string for using rt1015p
        ASoC: mediatek: mt8183: support machine driver with rt1015p
      
       .../sound/mt8183-mt6358-ts3a227-max98357.txt  |  1 +
       sound/soc/mediatek/Kconfig                    |  1 +
       .../mt8183/mt8183-mt6358-ts3a227-max98357.c   | 29 +++++++++++++++++++
       3 files changed, 31 insertions(+)
      
      --
      2.31.0.rc2.261.g7f71774620-goog
      0befe3a0
    • Mark Brown's avatar
      Merge series "ASoC: codecs: wolfson: remove cppcheck warnings" from... · 6f2cd36f
      Mark Brown authored
      Merge series "ASoC: codecs: wolfson: remove cppcheck warnings" from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:
      
      There should be no functionality change, just minor fixes to make
      warnings go away.
      
      Pierre-Louis Bossart (10):
        ASoC: arizona: fix function argument
        ASoC: madera: align function prototype
        ASoC: wm2200: remove unused structure
        ASoC: wm8903: remove useless assignments
        ASoC: wm8958-dsp2: rename local 'control' arrays
        ASoC: wm8978: clarify expression
        ASoC: wm8994: align function prototype
        ASoC: wm8996: clarify expression
        ASoC: wm_adsp: simplify return value
        ASoC: wm_hubs: align function prototype
      
       sound/soc/codecs/arizona.h     |  2 +-
       sound/soc/codecs/madera.h      |  2 +-
       sound/soc/codecs/wm2200.c      |  7 -------
       sound/soc/codecs/wm8903.c      |  2 --
       sound/soc/codecs/wm8958-dsp2.c | 16 ++++++++--------
       sound/soc/codecs/wm8978.c      |  2 +-
       sound/soc/codecs/wm8994.h      |  2 +-
       sound/soc/codecs/wm8996.c      |  2 +-
       sound/soc/codecs/wm_adsp.c     |  2 +-
       sound/soc/codecs/wm_hubs.h     |  2 +-
       10 files changed, 15 insertions(+), 24 deletions(-)
      
      --
      2.25.1
      6f2cd36f
    • Pierre-Louis Bossart's avatar
      ASoC: soc-core: fix DMI handling · c68fded7
      Pierre-Louis Bossart authored
      When DMI information is not present, trying to assign the card long
      name results in the following warning.
      
      WARNING KERN tegra-audio-graph-card sound: ASoC: no DMI vendor name!
      
      The initial solution suggested was to test if the card device is an
      ACPI one. This causes a regression visible to userspace on all Intel
      platforms, with UCM unable to load card profiles based on DMI
      information: the card devices are not necessarily ACPI ones, e.g. when
      the parent creates platform devices on Intel devices.
      
      To fix this problem, this patch exports the existing dmi_available
      variable and tests it in the ASoC core.
      
      Fixes: c0141704 ("ASoC: soc-core: Prevent warning if no DMI table is present")
      Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
      Reviewed-by: default avatarTakashi Iwai <tiwai@suse.de>
      Acked-by: default avatarJean Delvare <jdelvare@suse.de>
      Link: https://lore.kernel.org/r/20210310193928.108850-1-pierre-louis.bossart@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      c68fded7
    • Tzung-Bi Shih's avatar
      ASoC: mediatek: mt8183: support machine driver with rt1015p · 9dc21a06
      Tzung-Bi Shih authored
      Supports machine driver with rt1015p ("mt8183_mt6358_ts3a227_rt1015p").
      Embeds in the existing mt8183-mt6358-ts3a227-max98357.c because they
      share most of the code.
      Signed-off-by: default avatarTzung-Bi Shih <tzungbi@google.com>
      Link: https://lore.kernel.org/r/20210311033151.1818603-3-tzungbi@google.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      9dc21a06
    • Tzung-Bi Shih's avatar
      ASoC: dt-bindings: mt8183: add compatible string for using rt1015p · 5fd6b9b8
      Tzung-Bi Shih authored
      Machines with rt1015p should use the compatible string
      "mt8183-mt6358-ts3a227-rt1015p".
      Signed-off-by: default avatarTzung-Bi Shih <tzungbi@google.com>
      Link: https://lore.kernel.org/r/20210311033151.1818603-2-tzungbi@google.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      5fd6b9b8
    • Pierre-Louis Bossart's avatar
      ASoC: wm_hubs: align function prototype · 8ea9e29c
      Pierre-Louis Bossart authored
      cppcheck warnings:
      
      sound/soc/codecs/wm_hubs.c:1194:11: style:inconclusive: Function
      'wm_hubs_handle_analogue_pdata' argument 8 names different:
      declaration 'micbias1_dly' definition
      'micbias1_delay'. [funcArgNamesDifferent]
            int micbias1_delay, int micbias2_delay,
                ^
      sound/soc/codecs/wm_hubs.h:59:11: note: Function
      'wm_hubs_handle_analogue_pdata' argument 8 names different:
      declaration 'micbias1_dly' definition 'micbias1_delay'.
            int micbias1_dly, int micbias2_dly,
                ^
      sound/soc/codecs/wm_hubs.c:1194:11: note: Function
      'wm_hubs_handle_analogue_pdata' argument 8 names different:
      declaration 'micbias1_dly' definition 'micbias1_delay'.
            int micbias1_delay, int micbias2_delay,
                ^
      sound/soc/codecs/wm_hubs.c:1194:31: style:inconclusive: Function
      'wm_hubs_handle_analogue_pdata' argument 9 names different:
      declaration 'micbias2_dly' definition
      'micbias2_delay'. [funcArgNamesDifferent]
            int micbias1_delay, int micbias2_delay,
                                    ^
      sound/soc/codecs/wm_hubs.h:59:29: note: Function
      'wm_hubs_handle_analogue_pdata' argument 9 names different:
      declaration 'micbias2_dly' definition 'micbias2_delay'.
            int micbias1_dly, int micbias2_dly,
                                  ^
      sound/soc/codecs/wm_hubs.c:1194:31: note: Function
      'wm_hubs_handle_analogue_pdata' argument 9 names different:
      declaration 'micbias2_dly' definition 'micbias2_delay'.
            int micbias1_delay, int micbias2_delay,
                                    ^
      Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
      Acked-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
      Link: https://lore.kernel.org/r/20210311004332.120901-11-pierre-louis.bossart@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      8ea9e29c