OSDN Git Service

greybus: sdio: fix transfer buffer handling and blocks counting
authorRui Miguel Silva <rui.silva@linaro.org>
Thu, 2 Jul 2015 18:11:37 +0000 (19:11 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Mon, 6 Jul 2015 18:15:42 +0000 (11:15 -0700)
commit9ddf133371fd87ddf543e8b26389ca26f2d9fc3c
tree5c8d5cb36d01e16ef8fc71dc1084d730123fbd7e
parentf85451d8f58cd6df8643838b249016449f4d6218
greybus: sdio: fix transfer buffer handling and blocks counting

Fix copy to/from scatterlist destination buffer offset, fix
calculation of blocks to be transfer and make a more verbose out of
error when the blocks receive/send do not match.

Signed-off-by: Rui Miguel Silva <rui.silva@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/sdio.c