greybus: es2: fix arpc response lookups
authorJohan Hovold <johan@hovoldconsulting.com>
Thu, 14 Jul 2016 17:55:00 +0000 (12:55 -0500)
committerAlex Elder <elder@linaro.org>
Thu, 14 Jul 2016 19:36:33 +0000 (14:36 -0500)
commit165a74ab1401ac3e2b6eb5b7084607b588734e09
treef675199db1e8ec90dee50e0f3f0ee7725b0efc59
parente818027c0b4e2573e2e63ca04480ce7972596eb2
greybus: es2: fix arpc response lookups

Fix arpc response lookups that were truncating the 16-bit response id to
8-bit, something which would have lead to all arpc calls timing out
after the 256th request.

Testing done: Enumerated and ejected a module on EVT2.

Signed-off-by: Johan Hovold <johan@hovoldconsulting.com>
Reviewed-by: Viresh Kumar <viresh.kumar@linaro.org>
Signed-off-by: Alex Elder <elder@linaro.org>
drivers/staging/greybus/es2.c