]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
mfd: Return twl6030_mmc_card_detect IRQ for board setup
authorBenoit Cousson <b-cousson@ti.com>
Fri, 2 Mar 2012 15:15:22 +0000 (16:15 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Thu, 22 Mar 2012 12:02:48 +0000 (13:02 +0100)
commitbdd61bc667401dc8054b69dddb0cf32ca2aab57b
tree9b3bcc8af0f5d022b19554d7fb5f10a6ad7467db
parentfd7cdddf9fe0fc63a10233223cf9fd774b33612c
mfd: Return twl6030_mmc_card_detect IRQ for board setup

Card detect IRQ from the TWL6030 used to be provided to the MMC
controller code using a statically allocated IRQ scheme:

  card_detect_irq = TWL6030_IRQ_BASE + MMCDETECT_INTR_OFFSET;

This is no longer valid in a SPARSE_IRQ context since there is no more
pre-defined TWL6030_IRQ_BASE.

Return the proper card detect IRQ value in the twl6030_mmc_card_detect_config
that will be called from the MMC controller.

Signed-off-by: Benoit Cousson <b-cousson@ti.com>
Cc: Felipe Balbi <balbi@ti.com>
Cc: Tony Lindgren <tony@atomide.com>
Cc: Rajendra Nayak <rnayak@ti.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/twl6030-irq.c