maru_inputs: correct argument for virtioqueue
authorJinhyung Jo <jinhyung.jo@samsung.com>
Tue, 23 Feb 2016 05:28:43 +0000 (14:28 +0900)
committerJinhyung Jo <jinhyung.jo@samsung.com>
Tue, 23 Feb 2016 05:28:43 +0000 (14:28 +0900)
commit8a5e857387d3e1106c22f239e7f898658c01dbc2
treee682e92c6a947cac44dab689fb37acbb538992de
parent0a34b3431c2bfd7eb13933ba87e7945b114a6a73
maru_inputs: correct argument for virtioqueue

The fourth argument of the virtqueue_add_inbuf() is a 'data' token
handled to virtqueue_get_buf().
So change to clear targets instead of constant values typecasted.

Change-Id: Ibc3aef906568cff4e9a2b809d72c1eb0c15b73cf
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
drivers/maru/maru_virtio_hwkey.c
drivers/maru/maru_virtio_keyboard.c
drivers/maru/maru_virtio_rotary.c