Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Skip to content
Commit 971163cb authored by Oliver Wang's avatar Oliver Wang
Browse files

input: sensors: fix the irq not free issue when apds9930 probe fails



The irq is not freed when the apds9930 sensor chip is not successfully
probed. The freed memory access in the interrupt handler cause a
crash. Thus fix this issue by calling free_irq when probe fails.

Change-Id: Ia584199d35ec09c04fb5632183443ecf1c747f74
Signed-off-by: default avatarOliver Wang <mengmeng@codeaurora.org>
parent 39e3e1e9
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment