OMAP2,3: DSS2: Get DSS IRQ from platform device
authorSenthilvadivu Guruswamy <svadivu@ti.com>
Wed, 16 Feb 2011 05:14:00 +0000 (23:14 -0600)
committerTomi Valkeinen <tomi.valkeinen@ti.com>
Fri, 11 Mar 2011 13:46:21 +0000 (15:46 +0200)
commitef631f82500390b3dfc20b16214e53c443d675a4
tree56ac1e674524f5cfd5755f60d74f8b361ae02611
parentea9da36a304eed585fc5ef89c0f1c460eca61b48
OMAP2,3: DSS2: Get DSS IRQ from platform device

DSS IRQ number can be obtained from platform_get_irq().  This API in turn
picks the right IRQ number belonging to HW IP from the hwmod database.
So hardcoding of IRQ number could be removed.

This IRQ is stored in dss_irq as part of dss structure, and freed it in
dss_exit().

Reviewed-by: Paul Walmsley <paul@pwsan.com>
Reviewed-by: Kevin Hilman <khilman@ti.com>
Tested-by: Kevin Hilman <khilman@ti.com>
Signed-off-by: Senthilvadivu Guruswamy <svadivu@ti.com>
Signed-off-by: Sumit Semwal <sumit.semwal@ti.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/omap2/dss/dss.c