]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
mfd/mc13783: new function reading irq mask and status register
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 5 Mar 2010 21:44:29 +0000 (13:44 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Sat, 6 Mar 2010 19:26:47 +0000 (11:26 -0800)
commit86c3400810a7a33e176bf33b6b074d881e829374
tree4342159d7e552078151c5a87a72cd29c5a4aabd8
parent4dd4dd655cedb7c5c0bf45bc1d012ebbe21e8319
mfd/mc13783: new function reading irq mask and status register

The driver for the mc13783 rtc needs to know if the TODA irq is pending.

Instead of tracking in the rtc driver if the irq is enabled provide that
information, too.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Cc: Alessandro Zummo <a.zummo@towertech.it>
Cc: Paul Gortmaker <p_gortmaker@yahoo.com>
Cc: Valentin Longchamp <valentin.longchamp@epfl.ch>
Cc: Sascha Hauer <s.hauer@pengutronix.de>
Cc: Samuel Ortiz <sameo@linux.intel.com>
Cc: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Cc: Luotao Fu <l.fu@pengutronix.de>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mfd/mc13783-core.c
include/linux/mfd/mc13783.h