Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b649fad8 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "usb: gadget: f_mass_storage: Add delay before continuing status stage" into msm-4.9

parents 0c47116b 3ed92409
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -2491,8 +2491,14 @@ static void handle_exception(struct fsg_common *common)

	case FSG_STATE_CONFIG_CHANGE:
		do_set_interface(common, common->new_fsg);
		if (common->new_fsg)
		if (common->new_fsg) {
			/*
			 * make sure delayed_status flag updated when set_alt
			 * returned.
			 */
			msleep(200);
			usb_composite_setup_continue(common->cdev);
		}
		break;

	case FSG_STATE_EXIT: