OSDN Git Service

usb: gadget: f_mass_storage: fix default product name
authorAndrzej Pietrasiewicz <andrzej.p@samsung.com>
Tue, 4 Jun 2013 13:27:54 +0000 (15:27 +0200)
committerFelipe Balbi <balbi@ti.com>
Wed, 12 Jun 2013 20:57:12 +0000 (23:57 +0300)
commit758b463d833f818a6416ad96d33c77267aab1afd
treee3a6e6bfb675644f04a962bbcb4de4ac5e252eb0
parent594daba1bcb0510cdc9dccfbab9e6fd5d9cc94e6
usb: gadget: f_mass_storage: fix default product name

If cfg->product name is not set, a default name is chosen depending
on the common->luns->cdrom flag. If the flag is set the name should
be "File-CD Gadget", and if the flag is not set the name should be
"File-Stor Gadget".

Acked-by: Michal Nazarewicz <mina86@mina86.com>
Signed-off-by: Andrzej Pietrasiewicz <andrzej.p@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/gadget/f_mass_storage.c