mbox series

[v2,0/3] Fix the unbalanced pm_runtime_enable in wcd937x-sdw soundwire slave

Message ID 20240704081723.3394153-1-quic_mohs@quicinc.com (mailing list archive)
Headers show
Series Fix the unbalanced pm_runtime_enable in wcd937x-sdw soundwire slave | expand

Message

Mohammad Rafi Shaik July 4, 2024, 8:17 a.m. UTC
This patch set change will fix the unbalanced pm_runtime_enable in wcd937x-sdw soundwire slave.

And removed the string compare with widget name in MIC BIAS settings, instead
of string compare use the MIC BIAS id's as value.

Removed separate handling for vdd-buck regulator supply which is not
required. The vdd-buck regulator supply enabled using bulk enable.

Added the error handling in wcd937x_probe() and disable the regulators in error case.

Changes in v2:
 - Remove Unrelated devm_free_irq change as suggested by Mark Brown
 - Link to v1: https://lore.kernel.org/linux-sound/a8a670f9-f03f-eff8-5cb2-b40b06267bc6@quicinc.com/
  
Changes in v1:
 - Fixed the unbalanced pm_runtime_enable in wcd937x-sdw soundwire slave
 - Removed the string compare with widget name in MIC BIAS widget settings
   suggested by Srinivas Kandagatla
   https://lore.kernel.org/all/33772eab-74c6-c5c3-fa25-3a643a2f9c57@quicinc.com/
 - Removed separate handling for vdd-buck supply
   Suggested by Christophe JAILLET
   https://lore.kernel.org/all/834d31cc-f4bc-4db7-a25b-f9869e550eb6@wanadoo.fr/
   https://lore.kernel.org/all/288156b9-2f72-6929-3422-c3aecb9c2c07@quicinc.com/   

Mohammad Rafi Shaik (3):
  ASoC: codecs: wcd937x-sdw: Fix Unbalanced pm_runtime_enable
  ASoC: codecs: wcd937x: Remove the string compare in MIC BIAS widget
    settings
  ASoC: codecs: wcd937x: Remove separate handling for vdd-buck supply

 sound/soc/codecs/wcd937x-sdw.c | 18 +++----
 sound/soc/codecs/wcd937x.c     | 95 ++++++++--------------------------
 sound/soc/codecs/wcd937x.h     |  2 +-
 3 files changed, 30 insertions(+), 85 deletions(-)


base-commit: 0b58e108042b0ed28a71cd7edf5175999955b233

Comments

Mark Brown July 12, 2024, 5:31 p.m. UTC | #1
On Thu, 04 Jul 2024 13:47:20 +0530, Mohammad Rafi Shaik wrote:
> This patch set change will fix the unbalanced pm_runtime_enable in wcd937x-sdw soundwire slave.
> 
> And removed the string compare with widget name in MIC BIAS settings, instead
> of string compare use the MIC BIAS id's as value.
> 
> Removed separate handling for vdd-buck regulator supply which is not
> required. The vdd-buck regulator supply enabled using bulk enable.
> 
> [...]

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/sound.git for-next

Thanks!

[1/3] ASoC: codecs: wcd937x-sdw: Fix Unbalanced pm_runtime_enable
      commit: 0ffc5a40ad21996c1c4b1d8a636c9051ea41a76e
[2/3] ASoC: codecs: wcd937x: Remove the string compare in MIC BIAS widget settings
      commit: a5f727f423101efd60a27bccd7680df429cef38a
[3/3] ASoC: codecs: wcd937x: Remove separate handling for vdd-buck supply
      commit: 216d04139a6d0ecaea9432178225b29d367da886

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark