misc: ti-st: Adding IORESOURCE_IRQ_OPTIONAL case
authorHarry Hong <hhong@nvidia.com>
Mon, 26 Aug 2013 05:53:01 +0000 (14:53 +0900)
committerPeter Kim <pekim@nvidia.com>
Fri, 11 Oct 2013 01:23:03 +0000 (18:23 -0700)
commitddff98871fbd7964e2d4174ae475897a68230bd4
tree01a0861bb53103e91cedbed06285710213537a67
parent79b31fb15aa9641a37ce4b5abd20fe072586b9bb
misc: ti-st: Adding IORESOURCE_IRQ_OPTIONAL case

if flag is IORESOURCE_IRQ_OPTIONAL, don't request irq
because this irq need to be registered in another driver.

bug 1347948

Change-Id: I3178aca5b09421b5f6c53d28b6327f530d405e9c
Signed-off-by: Harry Hong <hhong@nvidia.com>
Reviewed-on: http://git-master/r/265925
(cherry picked from commit a69c29fc91cf581fdd678fa05a6b33568ef9ccc7)
Reviewed-on: http://git-master/r/288819
Reviewed-by: Peter Kim <pekim@nvidia.com>
Tested-by: Peter Kim <pekim@nvidia.com>
drivers/misc/ti-st/st_host_wake.c