virtio-kbd: modified elem index and mutex lock
authorsungmin ha <sungmin82.ha@samsung.com>
Fri, 29 Mar 2013 02:36:08 +0000 (11:36 +0900)
committersungmin ha <sungmin82.ha@samsung.com>
Fri, 29 Mar 2013 02:36:08 +0000 (11:36 +0900)
commit0e1dacf4dbddbbe5545218f44ac2a8dcf0a48df6
tree837d49561ccd8530904f2eb3d095fc82dcbee7ab
parent45553377700f13987fd3e1a34f58a69653e050d3
virtio-kbd: modified elem index and mutex lock

When elem index was higher than 9, Data was written from index 0.
But kernel read queue from index 0 to index 9 always.
If index 9 is key press event and index 0 is key release event, their order is changed.
So key press event is repeated in X platform.
It is modified that elem index must start from 0.

Signed-off-by: Sungmin Ha <sungmin82.ha@samsung.com>
package/changelog
package/pkginfo.manifest
tizen/src/hw/maru_virtio_keyboard.c