MLK-14487-1 rpmsg: imx: validate the rpmsg on imx7ulp
authorRichard Zhu <hongxing.zhu@nxp.com>
Tue, 21 Mar 2017 02:15:40 +0000 (10:15 +0800)
committerNitin Garg <nitin.garg@nxp.com>
Mon, 19 Mar 2018 20:21:37 +0000 (15:21 -0500)
commita51a6ea6158e80dc405b53836ec4281f99cdfcf6
treefad821c4a128a40a55ee481a14c1a9c75c4d4237
parent8c5d1d4c18c9281af741a51753d01fe69ed1e139
MLK-14487-1 rpmsg: imx: validate the rpmsg on imx7ulp

- change the module_init to subsys_initcall.
Otherwise, the pf1550-rpmsg would be invoked before
the rpmsg bus driver on imx7ulp.
Then, sdhc wouldn't be powered up properly if pf1550
isn't functional.
- remove the no longer used imc_rpmsg_exit.
- pass the real device id if the shared irq is requested.

Signed-off-by: Richard Zhu <hongxing.zhu@nxp.com>
Tested-by: Daniel Baluta <daniel.baluta@nxp.com>
drivers/rpmsg/imx_rpmsg.c