Displaying 2 results from an estimated 2 matches for "usb_autopm_put_interface".
2019 Oct 17
0
[PATCH RFC 2/3] usb, kcov: collect coverage from hub_event
...ub_dev, "state %d ports %d chg %04x evt %04x\n",
> hdev->state, hdev->maxchild,
> /* NOTE: expects max 15 ports... */
> @@ -5480,6 +5482,8 @@ static void hub_event(struct work_struct *work)
> /* Balance the stuff in kick_hub_wq() and allow autosuspend */
> usb_autopm_put_interface(intf);
> kref_put(&hub->kref, hub_release);
> +
> + kcov_remote_stop();
> }
>
> static const struct usb_device_id hub_id_table[] = {
> diff --git a/include/linux/kcov.h b/include/linux/kcov.h
> index 702672d98d35..38a47e0b67c2 100644
> --- a/include/linux/kco...
2019 Oct 17
0
[PATCH RFC 2/3] usb, kcov: collect coverage from hub_event
...hdev->state, hdev->maxchild,
> > > /* NOTE: expects max 15 ports... */
> > > @@ -5480,6 +5482,8 @@ static void hub_event(struct work_struct *work)
> > > /* Balance the stuff in kick_hub_wq() and allow autosuspend */
> > > usb_autopm_put_interface(intf);
> > > kref_put(&hub->kref, hub_release);
> > > +
> > > + kcov_remote_stop();
> > > }
> > >
> > > static const struct usb_device_id hub_id_table[] = {
> > > diff --git a/include/linux/kcov.h b/include/linux/kcov...