goldfish_nand.c: remove length restrictions
authorNick Kralevich <nnk@google.com>
Mon, 12 May 2014 15:55:16 +0000 (16:55 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 15 May 2014 20:19:00 +0000 (13:19 -0700)
commitec5e34c074793a1f80faaf75e9468dd2f39ec1dc
treeb3a9e817d1a5c39b1bbd377b23f0a6e28efa92b9
parentf10d8434201859d5ad7f51032dcd2d0c09e85ee2
goldfish_nand.c: remove length restrictions

Remove limitations on the size of a read / write request.
AFAIK, there's no consequence to allowing the upper layers
to specify different read / write sizes.

This is needed to support running ext4 on goldfish.

Bug: https://code.google.com/p/android/issues/detail?id=38561

Signed-off-by: Nick Kralevich <nnk@google.com>
Signed-off-by: Jun Tian <jun.j.tian@intel.com>
Signed-off-by: Alan Cox <alan@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/goldfish/goldfish_nand.c