aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorFabio Estevam <[email protected]>2015-01-07 19:45:40 -0200
committerMark Brown <[email protected]>2015-01-08 18:17:33 +0000
commit64aa5f5843ab12455f6984928058a267f385a82c (patch)
treeff1bccc0c105359406e328977b96070a90a99779 /lib/memory-notifier-error-inject.c
parent97bf6af1f928216fd6c5a66e8a57bfa95a659672 (diff)
ASoC: fsl_ssi: Fix irq error check
Commit 2ffa531078037a0 ("ASoC: fsl_ssi: Fix module unbound") changed the way to retrieve the irq number from irq_of_parse_and_map() to platform_get_irq(), but missed to updated the irq error check accordingly. We should test for negative irq number and propagate it in the case of error. Signed-off-by: Fabio Estevam <[email protected]> Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions