diff options
author | Gustavo A. R. Silva <garsilva@embeddedor.com> | 2017-06-30 22:18:41 +0200 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2017-06-30 22:38:18 +0200 |
commit | 1967158fff819b38f4e46763ca8df067b4b69f59 (patch) | |
tree | 5528434bb1a8e79ee67fa85a2244b0a74b6fc315 /drivers/leds/leds-lp5562.c | |
parent | ALSA: hda/realtek - New codecs support for ALC215/ALC285/ALC289 (diff) | |
download | linux-1967158fff819b38f4e46763ca8df067b4b69f59.tar.xz linux-1967158fff819b38f4e46763ca8df067b4b69f59.zip |
ALSA: x86: fix error return code in hdmi_lpe_audio_probe()
platform_get_irq() returns an error code, but the intel_hdmi_audio
driver ignores it and always returns -ENODEV. This is not correct,
and prevents -EPROBE_DEFER from being propagated properly. Also,
notice that platform_get_irq() no longer returns 0 on error.
Print error message and propagate the return value of platform_get_irq
on failure.
Signed-off-by: Gustavo A. R. Silva <garsilva@embeddedor.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'drivers/leds/leds-lp5562.c')
0 files changed, 0 insertions, 0 deletions