1. 14 Apr, 2020 4 commits
    • Akshu Agrawal's avatar
      ASoC: amd: Fix button configuration · 8dbcfcfc
      Akshu Agrawal authored
      RT5682 buttons were incorrectly mapped.
      Signed-off-by: default avatarAkshu Agrawal <akshu.agrawal@amd.com>
      Link: https://lore.kernel.org/r/20200414113527.13532-1-akshu.agrawal@amd.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      8dbcfcfc
    • Philipp Puschmann's avatar
      ASoC: tas571x: disable regulators on failed probe · 9df8ba7c
      Philipp Puschmann authored
      If probe fails after enabling the regulators regulator_put is called for
      each supply without having them disabled before. This produces some
      warnings like
      
      WARNING: CPU: 0 PID: 90 at drivers/regulator/core.c:2044 _regulator_put.part.0+0x154/0x15c
      [<c010f7a8>] (unwind_backtrace) from [<c010c544>] (show_stack+0x10/0x14)
      [<c010c544>] (show_stack) from [<c012b640>] (__warn+0xd0/0xf4)
      [<c012b640>] (__warn) from [<c012b9b4>] (warn_slowpath_fmt+0x64/0xc4)
      [<c012b9b4>] (warn_slowpath_fmt) from [<c04c4064>] (_regulator_put.part.0+0x154/0x15c)
      [<c04c4064>] (_regulator_put.part.0) from [<c04c4094>] (regulator_put+0x28/0x38)
      [<c04c4094>] (regulator_put) from [<c04c40cc>] (regulator_bulk_free+0x28/0x38)
      [<c04c40cc>] (regulator_bulk_free) from [<c0579b2c>] (release_nodes+0x1d0/0x22c)
      [<c0579b2c>] (release_nodes) from [<c05756dc>] (really_probe+0x108/0x34c)
      [<c05756dc>] (really_probe) from [<c0575aec>] (driver_probe_device+0xb8/0x16c)
      [<c0575aec>] (driver_probe_device) from [<c0575d40>] (device_driver_attach+0x58/0x60)
      [<c0575d40>] (device_driver_attach) from [<c0575da0>] (__driver_attach+0x58/0xcc)
      [<c0575da0>] (__driver_attach) from [<c0573978>] (bus_for_each_dev+0x78/0xc0)
      [<c0573978>] (bus_for_each_dev) from [<c0574b5c>] (bus_add_driver+0x188/0x1e0)
      [<c0574b5c>] (bus_add_driver) from [<c05768b0>] (driver_register+0x74/0x108)
      [<c05768b0>] (driver_register) from [<c061ab7c>] (i2c_register_driver+0x3c/0x88)
      [<c061ab7c>] (i2c_register_driver) from [<c0102df8>] (do_one_initcall+0x58/0x250)
      [<c0102df8>] (do_one_initcall) from [<c01a91bc>] (do_init_module+0x60/0x244)
      [<c01a91bc>] (do_init_module) from [<c01ab5a4>] (load_module+0x2180/0x2540)
      [<c01ab5a4>] (load_module) from [<c01abbd4>] (sys_finit_module+0xd0/0xe8)
      [<c01abbd4>] (sys_finit_module) from [<c01011e0>] (__sys_trace_return+0x0/0x20)
      
      Fixes: 3fd6e7d9 (ASoC: tas571x: New driver for TI TAS571x power amplifiers)
      Signed-off-by: default avatarPhilipp Puschmann <p.puschmann@pironex.de>
      Link: https://lore.kernel.org/r/20200414112754.3365406-1-p.puschmann@pironex.deSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      9df8ba7c
    • Charles Keepax's avatar
      ASoC: dapm: Fix regression introducing multiple copies of DAI widgets · 595571cc
      Charles Keepax authored
      Refactoring was done to factor out the linking of DAI widgets into
      a helper function, dapm_add_valid_dai_widget. However when this was
      done, a regression was introduced for CODEC to CODEC links. It was
      over looked that the playback and capture variables persisted across
      all CODEC DAIs being processed, which ensured that the special DAI
      widget that is added for CODEC to CODEC links was only created once.
      This bug causes kernel panics during DAPM shutdown.
      
      To stick with the spirit of the original refactoring whilst fixing the
      issue, variables to hold the DAI widgets are added to snd_soc_dai_link.
      Furthermore the dapm_add_valid_dai_widget function is renamed to
      dapm_connect_dai_pair, the function only adds DAI widgets in the CODEC
      to CODEC case and its primary job is to add routes connecting two DAI
      widgets, making the original name quite misleading.
      
      Fixes: 6c4b13b5 ("ASoC: Add dapm_add_valid_dai_widget helper")
      Signed-off-by: default avatarCharles Keepax <ckeepax@opensource.cirrus.com>
      Link: https://lore.kernel.org/r/20200409181209.30130-1-ckeepax@opensource.cirrus.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      595571cc
    • Krzysztof Kozlowski's avatar
      ASoC: samsung: s3c24xx-i2s: Fix build after removal of DAI suspend/resume · ec21bdc6
      Krzysztof Kozlowski authored
      Commit 450312b6 ("ASoC: soc-core: remove DAI suspend/resume")
      removed the DAI side suspend/resume hooks and switched entirely to
      component suspend/resume.  However the Samsung SoC s3c-i2s-v2 driver was
      not updated.
      
      Move the suspend/resume hooks from s3c-i2s-v2.c to s3c2412-i2s.c while
      changing dai to component which allows to keep the struct
      snd_soc_component_driver const.
      
      This fixes build errors:
      
          sound/soc/samsung/s3c-i2s-v2.c: In function ‘s3c_i2sv2_register_component’:
          sound/soc/samsung/s3c-i2s-v2.c:730:9: error: ‘struct snd_soc_dai_driver’ has no member named ‘suspend’
            dai_drv->suspend = s3c2412_i2s_suspend;
      Reported-by: default avatarArnd Bergmann <arnd@arndb.de>
      Fixes: 450312b6 ("ASoC: soc-core: remove DAI suspend/resume")
      Signed-off-by: default avatarKrzysztof Kozlowski <krzk@kernel.org>
      
      Link: https://lore.kernel.org/r/20200413124548.28197-1-krzk@kernel.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
      ec21bdc6
  2. 09 Apr, 2020 6 commits
  3. 07 Apr, 2020 1 commit
  4. 06 Apr, 2020 3 commits
  5. 03 Apr, 2020 4 commits
  6. 01 Apr, 2020 3 commits
  7. 31 Mar, 2020 2 commits
  8. 30 Mar, 2020 10 commits
  9. 27 Mar, 2020 7 commits