maru-tablet: improve use of virtio queue
authorJinhyung Jo <jinhyung.jo@samsung.com>
Thu, 3 Mar 2016 09:05:34 +0000 (18:05 +0900)
committerJinhyung Jo <jinhyung.jo@samsung.com>
Fri, 4 Mar 2016 06:36:19 +0000 (15:36 +0900)
commitc498e52bf5a3a45d77521e165c00dafa7c41c8cb
treefdfc10c93fed749c583bdf4a258c1960bdfc4611
parent76345259ced3efb09c73ba7ab6df7d552036fb08
maru-tablet: improve use of virtio queue

Reduce the buffer size & the scatterlist size.
The size of tablet event is not large.
In addition, the number of generated event is not much.
So only use actually written value.
And fix the incorrect use of the virtio queue.

Change-Id: I9cf1f2cad8cd9f9b6e0ef7783beec48df4c48748
Signed-off-by: Jinhyung Jo <jinhyung.jo@samsung.com>
drivers/maru/maru_virtio_tablet.c