diff options
| author | Dan Carpenter <[email protected]> | 2017-12-09 11:52:03 +0000 |
|---|---|---|
| committer | Mark Brown <[email protected]> | 2017-12-11 11:42:03 +0000 |
| commit | cd430a244cd5d3ca0f4053718eabdf42bc12c517 (patch) | |
| tree | d640bcd08422e6c4563bd3ef399da19ec964b925 /drivers/acpi/cppc_acpi.c | |
| parent | ASoC: nuc900: Fix platform_get_irq's error checking (diff) | |
| download | kernel-cd430a244cd5d3ca0f4053718eabdf42bc12c517.tar.gz kernel-cd430a244cd5d3ca0f4053718eabdf42bc12c517.zip | |
ASoC: nuc900: Fix platform_get_irq() error checking some more
The error handling doesn't work here because "nuc900_audio->irq_num" is
unsigned. Also we should be checking for < 0 and not <= 0 but I believe
that's harmless. The platform_get_irq() comments don't talk about the
return values...
Fixes: fa8cc38165c2 ("ASoC: nuc900: Fix platform_get_irq's error checking")
Signed-off-by: Dan Carpenter <[email protected]>
Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions
