On Mon, Jun 22 2015, Krzysztof Opasiak wrote:
> Mass storage spec allows up to 16 LUNs, so let's don't
> add some more restrictive limits.
>
> Signed-off-by: Krzysztof Opasiak <k.opas...@samsung.com>

Acked-by: Michal Nazarewicz <min...@mina86.com>

> ---
>  drivers/usb/gadget/function/storage_common.h |    2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/usb/gadget/function/storage_common.h 
> b/drivers/usb/gadget/function/storage_common.h
> index 70c8914..c3544e6 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,
> -- 
> 1.7.9.5
>

-- 
Best regards,                                         _     _
.o. | Liege of Serenely Enlightened Majesty of      o' \,=./ `o
..o | Computer Science,  Michał “mina86” Nazarewicz    (o o)
ooo +--<m...@google.com>--<xmpp:min...@jabber.org>--ooO--(_)--Ooo--
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in

Reply via email to