Commit 44d805b3 authored by Axel Lin's avatar Axel Lin Committed by Anirudh Ghayal
Browse files

Input: pmic8xxx-keypad - fix a leak of the IRQ during init failure



Make sure we are passing the same cookie in all calls to
request_any_context_irq() and free_irq().

CRs-Fixed: 313755
Change-Id: Ic5a035dc8fc12705968b44fe75b5e10f01ad748f
Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Signed-off-by: default avatarDmitry Torokhov <dtor@mail.ru>
Signed-off-by: default avatarAnirudh Ghayal <aghayal@codeaurora.org>
parent 5e21bfdc
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment