diff options
author | Krzysztof Opasiak <k.opasiak@samsung.com> | 2015-07-20 20:15:19 +0200 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2015-07-29 09:59:19 -0500 |
commit | 75ddead2a77db61e818bc0cbe330a856a912f4d9 (patch) | |
tree | 965acb810099fa81e9bce881754871d94a8a9d7a /drivers/usb/gadget/function/storage_common.h | |
parent | bab7a1f199fa617c7a0600c74ebbb514aed6dbe8 (diff) | |
download | talos-obmc-linux-75ddead2a77db61e818bc0cbe330a856a912f4d9.tar.gz talos-obmc-linux-75ddead2a77db61e818bc0cbe330a856a912f4d9.zip |
usb: gadget: storage-common: Set FSG_MAX_LUNS to 16
Mass storage spec allows up to 16 LUNs, so let's not
add some more restrictive limits.
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/gadget/function/storage_common.h')
-rw-r--r-- | drivers/usb/gadget/function/storage_common.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/usb/gadget/function/storage_common.h b/drivers/usb/gadget/function/storage_common.h index 70c891469f57..c3544e61da66 100644 --- a/drivers/usb/gadget/function/storage_common.h +++ b/drivers/usb/gadget/function/storage_common.h @@ -123,7 +123,7 @@ static inline bool fsg_lun_is_open(struct fsg_lun *curlun) #define FSG_BUFLEN ((u32)16384) /* Maximal number of LUNs supported in mass storage function */ -#define FSG_MAX_LUNS 8 +#define FSG_MAX_LUNS 16 enum fsg_buffer_state { BUF_STATE_EMPTY = 0, |