Re: [PATCH] usbnet: prevent device rpm suspend in usbnet_probe function

From: Oliver Neukum
Date: Mon Nov 07 2016 - 06:08:03 EST


On Fri, 2016-11-04 at 17:57 +0800, Kai-Heng Feng wrote:
> Sometimes cdc_mbim failed to probe if runtime pm is enabled:
> [ 9.305626] cdc_mbim: probe of 2-2:1.12 failed with error -22
>
> This can be solved by increase its pm usage counter.
>
> Signed-off-by: Kai-Heng Feng <kai.heng.feng@xxxxxxxxxxxxx>

For the record:

NAK. This fixes a symptom. If this patch helps something is broken in
device core. We need to find that.

Regards
Oliver