[PATCH 0/5] ASoC: Handle platform_get_irq's error checking and return

Arvind Yadav arvind.yadav.cs at gmail.com
Fri Nov 17 11:33:23 PST 2017


The platform_get_irq() function returns negative if an error occurs.
zero or positive number on success. platform_get_irq() error checking
for zero is not correct and and we must check its return value.

Arvind Yadav (5):
  [PATCH 1/5] ASoC: ep93xx-ac97: Fix platform_get_irq's error checking
  [PATCH 2/5] ASoC: mt8173: Fix platform_get_irq's error checking
  [PATCH 3/5] ASoC: nuc900: Fix platform_get_irq's error checking
  [PATCH 4/5] ASoC: intel: sst: Handle return value of platform_get_irq
  [PATCH 5/5] ASoC: intel: mfld: Handle return value of platform_get_irq

 sound/soc/cirrus/ep93xx-ac97.c             | 4 ++--
 sound/soc/intel/atom/sst/sst_acpi.c        | 3 +++
 sound/soc/intel/boards/mfld_machine.c      | 2 ++
 sound/soc/mediatek/mt8173/mt8173-afe-pcm.c | 4 ++--
 sound/soc/nuc900/nuc900-ac97.c             | 4 ++--
 5 files changed, 11 insertions(+), 6 deletions(-)

-- 
2.7.4




More information about the linux-arm-kernel mailing list