[alsa-devel] [PATCH 0/5] ASoC: (minor) atmel cleanup

Ladislav Michl ladis at linux-mips.org
Mon Jan 15 08:52:13 CET 2018


Hi there!

this patchset is a side product of reading ALSA code while trying to support
new hardware. Nothing special here, just an attempt to make those three
drivers to look more similar. Only patch 4 fixes actual problem, but:
1) this particular issue is present almost everywhere (as far as I looked)
   where of_node_put is used in ALSA. Perhaps coccinelle people could help?
2) seems noone bothered as OF_DYNAMIC is mostly disabled

Compile tested only.

Ladislav Michl (5):
  ASoC: sam9g20_wm8731: use dev_*() logging functions
  ASoC: sam9x5_wm8731: Drop 'ASoC' prefix from error messages
  ASoC: sam9x5_wm8731: Return -ENODEV when probe does not find OF node
  ASoC: sam9x5_wm8731: Fix OF node reference counting
  ASoC: atmel_wm8904: Return -ENODEV when probe does not find OF node
  
 sound/soc/atmel/atmel_wm8904.c   |  6 ++----
 sound/soc/atmel/sam9g20_wm8731.c | 17 +++++++--------
 sound/soc/atmel/sam9x5_wm8731.c  | 45 +++++++++++++++++-----------------------
 3 files changed, 29 insertions(+), 39 deletions(-)

-- 
2.15.1



More information about the Alsa-devel mailing list