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

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



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@xxxxxxxxxxx/
 - Removed separate handling for vdd-buck supply
   Suggested by Christophe JAILLET
   https://lore.kernel.org/all/834d31cc-f4bc-4db7-a25b-f9869e550eb6@xxxxxxxxxx/
   https://lore.kernel.org/all/288156b9-2f72-6929-3422-c3aecb9c2c07@xxxxxxxxxxx/   

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
-- 
2.25.1





[Index of Archives]     [Pulseaudio]     [Linux Audio Users]     [ALSA Devel]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]

  Powered by Linux