mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-08 20:07:46 +09:00
clear usb flag when pull out usb
This commit is contained in:
@@ -2932,6 +2932,8 @@ static void fsg_function_disable(struct usb_function *f)
|
||||
DBG(fsg, "fsg_function_disable\n");
|
||||
fsg->new_config = 0;
|
||||
raise_exception(fsg, FSG_STATE_CONFIG_CHANGE);
|
||||
// yk 201009
|
||||
set_msc_connect_flag(0);
|
||||
}
|
||||
|
||||
static int __init fsg_probe(struct platform_device *pdev)
|
||||
|
||||
Reference in New Issue
Block a user