commit | 8e55d30322c6a0ef746c256a1beda9c73ecb27a6 | [log] [tgz] |
---|---|---|
author | Li Jun <jun.li@nxp.com> | Fri Apr 14 19:12:07 2017 +0800 |
committer | Felipe Balbi <felipe.balbi@linux.intel.com> | Tue Jun 13 13:21:08 2017 +0300 |
tree | 8aab4548f160577b3300fdddf9376889ef53c91d | |
parent | 2d4aa21a73ba1019195f2200361c0fabe6f7d261 [diff] |
usb: gadget: mass_storage: set msg_registered after msg registered If there is no UDC available, the msg register will fail and this flag will not be set, but the driver is already added into pending driver list, then the module removal modprobe -r can not remove the driver from the pending list. Signed-off-by: Li Jun <jun.li@nxp.com> Signed-off-by: Felipe Balbi <felipe.balbi@linux.intel.com>