]> git.baikalelectronics.ru Git - kernel.git/commit
mmc: sdhi: Allow named IRQs to use specific handlers
authorSimon Horman <horms@verge.net.au>
Fri, 26 Aug 2011 08:42:39 +0000 (10:42 +0200)
committerChris Ball <cjb@laptop.org>
Wed, 26 Oct 2011 19:43:36 +0000 (15:43 -0400)
commit8ff6e7fc8caa14ab04c7fc71782d78f0ecd6f153
treeb1317ea1339a678b283a0213f5c6647a58099b33
parenta47eb0dfa37558e832b4e4f693fc1bc373a12e97
mmc: sdhi: Allow named IRQs to use specific handlers

Allow named IRQs to use corresponding specific handlers. If named IRQs are
used, at least an "sdcard" IRQ has to be specified by the platform. If
names are not used, an arbitrary number of IRQs can be provided by the
platform, in which case the generic ISR will be used for each of them.

Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Acked-by: Magnus Damm <magnus.damm@gmail.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
[g.liakhovetski@gmx.de: style and typo corrections, platform data check]
Signed-off-by: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sh_mobile_sdhi.c
include/linux/mmc/sh_mobile_sdhi.h