rpmsg: rdev_init: do not create rpmsg channels before remote is OK
authorWendy Liang <jliang@xilinx.com>
Sun, 15 Jan 2017 07:06:42 +0000 (23:06 -0800)
committerWendy Liang <jliang@xilinx.com>
Fri, 3 Feb 2017 21:41:22 +0000 (13:41 -0800)
commit6b5a05f7d8f77217af14067d841026dc54f8c05f
tree86a178a5ee288370da1d1ad1f68505ec7acacae9
parent75d03f829034646430fc91e567b9a8813360b079
rpmsg: rdev_init: do not create rpmsg channels before remote is OK

It is the virtio master to allocate the vrings' memories, on the slave
side, it should not create channels before the master driver is OK.

Signed-off-by: Wendy Liang <jliang@xilinx.com>
lib/rpmsg/remote_device.c
lib/rpmsg/rpmsg_core.c