mbox series

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

Message ID 20240628101143.1508513-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 June 28, 2024, 10:11 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
and also replace free_irq() with devm_free_irq() because irq has been requested
with devm_request_threaded_irq().

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     | 101 ++++++++-------------------------
 sound/soc/codecs/wcd937x.h     |   2 +-
 3 files changed, 33 insertions(+), 88 deletions(-)


base-commit: df9574a57d02b265322e77fb8628d4d33641dda9