nfc: check if virtqueue is ready 70/13370/1
authormunkyu.im <munkyu.im@samsung.com>
Wed, 4 Dec 2013 08:25:03 +0000 (17:25 +0900)
committermunkyu.im <munkyu.im@samsung.com>
Wed, 4 Dec 2013 08:25:03 +0000 (17:25 +0900)
commiteaa77f77549b940d92162441a9815069329fa90b
treee06c32e4dc0c90ee9e3d6dc7a2c58af347b995a6
parentf0028d34bc5ff8408d5894eac0eff7d0c2fea7f5
nfc: check if virtqueue is ready

Before sending event,
virtio device needs to check if virtqueue is ready.
Otherwise when emulator reset,
device operation may have problem to send message.

Change-Id: Ia715e314d0c1f65098eb7f1c612dc79c039bcdbe
Signed-off-by: munkyu.im <munkyu.im@samsung.com>
tizen/src/hw/maru_virtio_nfc.c