mailbox/omap: store mailbox interrupt type in omap_mbox_device
authorSuman Anna <s-anna@ti.com>
Wed, 6 Apr 2016 23:37:17 +0000 (18:37 -0500)
committerJassi Brar <jaswinder.singh@linaro.org>
Tue, 26 Apr 2016 04:49:38 +0000 (10:19 +0530)
commit2240f8aefcaea151653e70fbf3eef09650fa027c
tree36d5814af95f876510b959ff85429873e455230c
parent2665a4c1d456460aea7a2f2bf7113ffdc63077bf
mailbox/omap: store mailbox interrupt type in omap_mbox_device

The interrupt type used for identifying the layout of the interrupt
configuration registers between OMAP4+ SoCs and older SoCs is stored
only in the sub-mailbox structures for easier access. Store this type
in the the omap_mbox_device structure as well along with the other
global variables. This is being done to facilitate the context save
and restore of appropriate registers during system suspend/resume.

Signed-off-by: Suman Anna <s-anna@ti.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/omap-mailbox.c