[PATCH v2 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.

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@xxxxxxxxxxx/
  
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     | 95 ++++++++--------------------------
 sound/soc/codecs/wcd937x.h     |  2 +-
 3 files changed, 30 insertions(+), 85 deletions(-)


base-commit: 0b58e108042b0ed28a71cd7edf5175999955b233
-- 
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