linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/5] ASoC: Handle platform_get_irq's error checking and return
@ 2017-11-17 19:33 Arvind Yadav
  2017-11-17 19:33 ` [PATCH 1/5] ASoC: ep93xx-ac97: Fix platform_get_irq's error checking Arvind Yadav
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Arvind Yadav @ 2017-11-17 19:33 UTC (permalink / raw)
  To: linux-arm-kernel

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

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-11-18  8:19 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-11-17 19:33 [PATCH 0/5] ASoC: Handle platform_get_irq's error checking and return Arvind Yadav
2017-11-17 19:33 ` [PATCH 1/5] ASoC: ep93xx-ac97: Fix platform_get_irq's error checking Arvind Yadav
2017-11-17 19:33 ` [PATCH 2/5] ASoC: mt8173: " Arvind Yadav
2017-11-17 19:33 ` [PATCH 3/5] ASoC: nuc900: " Arvind Yadav
2017-11-17 19:33 ` [PATCH 4/5] ASoC: intel: sst: Handle return value of platform_get_irq Arvind Yadav
2017-11-17 19:33 ` [PATCH 5/5] ASoC: intel: mfld: " Arvind Yadav
2017-11-18  8:19 ` [PATCH 0/5] ASoC: Handle platform_get_irq's error checking and return Russell King - ARM Linux

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).