aboutsummaryrefslogtreecommitdiff
path: root/net/lapb/lapb_timer.c
diff options
context:
space:
mode:
authorNicolas Boichat <[email protected]>2018-10-22 10:55:06 +0800
committerLee Jones <[email protected]>2019-01-03 08:32:42 +0000
commita177276aa098aa47a100d51a13eaaef029604b6d (patch)
tree3bb9119da10722039d72e6bdd177abc50a102680 /net/lapb/lapb_timer.c
parenta3888f62fe66429fad3be7f2ba962e1e08c26fd6 (diff)
mfd: mt6397: Do not call irq_domain_remove if PMIC unsupported
If the PMIC ID is unknown, the current code would call irq_domain_remove and panic, as pmic->irq_domain is only initialized by mt6397_irq_init. Return immediately with an error, if the chip ID is unsupported. Signed-off-by: Nicolas Boichat <[email protected]> Signed-off-by: Lee Jones <[email protected]>
Diffstat (limited to 'net/lapb/lapb_timer.c')
0 files changed, 0 insertions, 0 deletions