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

Commit f6018105 authored by Hemant Kumar's avatar Hemant Kumar
Browse files

usb: Disable hsic device autosuspend



This prevents hsic device autosusoend by incrementing
usage count for ks bridge interface device.

Change-Id: Iaa76d285d55159565b3a23c21f7051ff7ab93d7d
Signed-off-by: default avatarHemant Kumar <hemantk@codeaurora.org>
parent 677bc436
Loading
Loading
Loading
Loading
+3 −0
Original line number Original line Diff line number Diff line
@@ -712,6 +712,9 @@ ksb_usb_probe(struct usb_interface *ifc, const struct usb_device_id *id)
		usb_enable_autosuspend(ksb->udev);
		usb_enable_autosuspend(ksb->udev);
	}
	}


	/* disable interface suspend */
	usb_autopm_get_interface(ifc);

	dev_dbg(&udev->dev, "usb dev connected");
	dev_dbg(&udev->dev, "usb dev connected");


	return 0;
	return 0;