summaryrefslogtreecommitdiff
path: root/drivers/base/platform.c
diff options
context:
space:
mode:
authorLi Jun <jun.li@nxp.com>2017-04-14 19:12:07 +0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-10-12 11:27:32 +0200
commit2efab2c3a3ae18a6fe33d958230c480f7268e235 (patch)
tree6ab6d9065f80910118c26b2ba49b7dec45bcb3b7 /drivers/base/platform.c
parentb74a45450f80a56a3aca515dd147bd95b18394bf (diff)
usb: gadget: mass_storage: set msg_registered after msg registered
commit 8e55d30322c6a0ef746c256a1beda9c73ecb27a6 upstream. 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> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/base/platform.c')
0 files changed, 0 insertions, 0 deletions