usb: gadget: g_ffs: Allow to set bmAttributes of configuration 36/88036/3 submit/tizen/20160920.104315
authorKrzysztof Opasiak <k.opasiak@samsung.com>
Mon, 12 Sep 2016 20:19:31 +0000 (22:19 +0200)
committerKrzysztof Opasiak <k.opasiak@samsung.com>
Tue, 20 Sep 2016 09:13:31 +0000 (11:13 +0200)
commitb547e39d1482eeccf5a2b8f63151d2eb187aa85d
tree09f6ff3b2959aa4e9516089618bfb468f2631353
parentd1c4eebbacfc178fa31475d5c9a0021913af43fe
usb: gadget: g_ffs: Allow to set bmAttributes of configuration

usb host tests expect configuration bmAttributes to have
a predefined value. As on 3.10 kernel we cannot use
ConfigFS to achieve this let's add a module parameter
which allows us to set it.

Change-Id: Iecf773d98c398ce1d3c529e7202155fb1e5e9ba6
Signed-off-by: Krzysztof Opasiak <k.opasiak@samsung.com>
drivers/usb/gadget/g_ffs.c