[PATCH v5 0/4] ASoC: Intel: Fix MCLK leaks and improve error

aravindanilraj0702@gmail.com posted 4 patches 14 hours ago
sound/soc/intel/boards/bytcr_rt5640.c   | 6 ++++--
sound/soc/intel/boards/bytcr_rt5651.c   | 5 ++++-
sound/soc/intel/boards/cht_bsw_rt5672.c | 4 +++-
3 files changed, 11 insertions(+), 4 deletions(-)
[PATCH v5 0/4] ASoC: Intel: Fix MCLK leaks and improve error
Posted by aravindanilraj0702@gmail.com 14 hours ago
From: Aravind Anilraj <aravindanilraj0702@gmail.com>

This series fixes MCLK reference leaks in the platform_clock_control()
paths of bytcr_rt5640, bytcr_rt5651, and cht_bsw_rt5672.

It also improves error reporting by including return codes in dev_err()
messages.

Changes in v5:
Split functional fixes from logging changes as requested by Cezary
Rojewski.
Include return codes and newlines in error messages as suggested by Mark
Brown.
Move clk_disable_unprepare() into the relevant error paths.

Changes in v4:
Add missing clk_disable_unprepare() in error paths for cht_bsw_rt5672.
Align error message formatting across drivers.

Aravind Anilraj (4):
  ASoC: Intel: bytcr_rt5640: Fix MCLK leak on platform_clock_control
    error
  ASoC: Intel: bytcr_rt5651: Fix MCLK leak on platform_clock_control
    error
  ASoC: Intel: cht_bsw_rt5672: Fix MCLK leak in platform_clock_control
  ASoC: Intel: boards: Log error code in MCLK configuration failure

 sound/soc/intel/boards/bytcr_rt5640.c   | 6 ++++--
 sound/soc/intel/boards/bytcr_rt5651.c   | 5 ++++-
 sound/soc/intel/boards/cht_bsw_rt5672.c | 4 +++-
 3 files changed, 11 insertions(+), 4 deletions(-)

-- 
2.47.3