greybus: sdio: increase maximum segment size
authorRui Miguel Silva <rui.silva@linaro.org>
Tue, 9 Aug 2016 22:35:35 +0000 (23:35 +0100)
committerGreg Kroah-Hartman <gregkh@google.com>
Wed, 10 Aug 2016 10:00:32 +0000 (12:00 +0200)
commitafbf72505be3da3bb7563e3e403020a3ba62f4f7
treeabbb168f3b2f617bec46ff009d867cb84068db01
parent64f28ada9349ab071096484281548b6be1791cd7
greybus: sdio: increase maximum segment size

Adjust maximum segment size of the sg list to meet the maximum request
size, this will allow to have less segments which increase the
performance of data movement during transfer operations.

Test Done: using mmc_test with best-case read/write performance and see
that only one segment is used and that the results are better (288KiB vs
300KiB in read operation).

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