Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1679270

Re: [PATCH] ALSA: atmel: ac97c: fix error return code in atmel_ac97c_probe()

From Takashi Iwai <tiwai@suse.de>
Newsgroups linux.kernel
Subject Re: [PATCH] ALSA: atmel: ac97c: fix error return code in atmel_ac97c_probe()
Date 2017-07-01 08:10 +0200
Message-ID <tYjLs-7JF-7@gated-at.bofh.it> (permalink)
References <tYcJX-2TB-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Sat, 01 Jul 2017 00:34:23 +0200,
Gustavo A. R. Silva wrote:
> 
> platform_get_irq() returns an error code, but the ac97c
> driver ignores it and always returns -ENXIO. This is not correct,
> and prevents -EPROBE_DEFER from being propagated properly.
> Notice that platform_get_irq() no longer returns 0 on error.
> 
> Print and propagate the return value of platform_get_irq on failure.
> 
> Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>

Applied, thanks.


Takashi

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] ALSA: atmel: ac97c: fix error return code in  atmel_ac97c_probe() "Gustavo A. R. Silva" <garsilva@embeddedor.com> - 2017-07-01 00:40 +0200
  Re: [PATCH] ALSA: atmel: ac97c: fix error return code in atmel_ac97c_probe() Takashi Iwai <tiwai@suse.de> - 2017-07-01 08:10 +0200

csiph-web