]> git.karo-electronics.de Git - linux-beck.git/commit
max17042_battery: Add IRQF_ONESHOT flag to use default irq handler
authorJonghwa Lee <jonghwa3.lee@samsung.com>
Wed, 18 Dec 2013 03:53:53 +0000 (12:53 +0900)
committerAnton Vorontsov <anton@enomsg.org>
Tue, 24 Dec 2013 02:59:41 +0000 (18:59 -0800)
commit26740dbb50f2421f1a33e23ac5ece609761fc1d5
tree4cf1ca04e3a6418100acc83aaba301cb3de0b56c
parent4ea81266010ae41a48c7ce393335dfe241931209
max17042_battery: Add IRQF_ONESHOT flag to use default irq handler

This patch adds IRQF_ONESHOT flag to max17042's irq since it uses primary
default handler. Without this flag, requesting irq will be denied with
returning error.

Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
Signed-off-by: MyungJoo Ham <myungjoo.ham@samsung.com>
Signed-off-by: Anton Vorontsov <anton@enomsg.org>
drivers/power/max17042_battery.c