MLK-16765-3 rtc: rtc-imx-sc: check group interrupt type
authorRobin Gong <yibin.gong@nxp.com>
Tue, 7 Nov 2017 09:18:44 +0000 (17:18 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:46:59 +0000 (15:46 -0500)
commit96dfbc4c412b66a205b63a1bd2a80b0c4dc98042
tree8f246eb25a495fcef7e1da63718a6ff1229b68c5
parentb16daa9c40de7110dc6ae1b010b1270fd2590632
MLK-16765-3 rtc: rtc-imx-sc: check group interrupt type

Check group interrupt type and irq status type supported, return directlly
if it's not the right group and interrupt status.

Signed-off-by: Robin Gong <yibin.gong@nxp.com>
Reviewed-by: Peng Fan <peng.fan@nxp.com>
Reviewed-by: Anson Huang <Anson.Huang@nxp.com>
drivers/rtc/rtc-imx-sc.c