gpio/omap: don't use linear domain mapping for OMAP1
authorJavier Martinez Canillas <javier.martinez@collabora.co.uk>
Mon, 24 Jun 2013 15:13:23 +0000 (17:13 +0200)
committerTony Lindgren <tony@atomide.com>
Wed, 26 Jun 2013 06:13:40 +0000 (23:13 -0700)
commit397eada946712b90e0620c378b366bcc6c98c9f6
tree5a53948117108e915b462addc84afdae4d647768
parent9e895ace5d82df8929b16f58e9f515f6d54ab82d
gpio/omap: don't use linear domain mapping for OMAP1

Commit ede4d7a5 ("gpio/omap: convert gpio irq domain to linear mapping")
converted the OMAP GPIO driver to use a linear mapping for the GPIO IRQ
domain instead of using a legacy mapping. Not using a legacy mapping has
a number of benefits but it requires the platform to support SPARSE_IRQ
which currently is not supported on OMAP1.

So this change caused a regression on OMAP1 platforms [1].

Since this issue is not present on all OMAP2+ platforms, there is no need to
revert the driver to use legacy domain mapping for all the platforms.

[1]: http://www.mail-archive.com/linux-omap@vger.kernel.org/msg89005.html

Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Tony Lindgren <tony@atomide.com>
drivers/gpio/gpio-omap.c