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>
Thu, 3 Mar 2016 08:26:16 +0000 (17:26 +0900)
commita897df41982540c720534e581c322d78070cd965
tree3d7bbba5a9a64722936075ff7207ba6ce30bc72b
parentea2a1707ac509c7dfaccb424ca56fffd67e2e425
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>
(cherry picked from commit 8a5e857387d3e1106c22f239e7f898658c01dbc2)
drivers/maru/maru_virtio_hwkey.c
drivers/maru/maru_virtio_keyboard.c
drivers/maru/maru_virtio_rotary.c