Re: [PATCH] USB: Add LPM quirk for sony xperia xz1 compact

From: Greg KH
Date: Thu Jan 16 2025 - 05:11:01 EST


On Wed, Jan 15, 2025 at 04:18:22PM -0800, Forest wrote:
> Since USB 2 LPM was enabled for this device by 63a1f8454962
> ("xhci: stored cached port capability values in one place"),
> the fastboot tool for communicating with Android bootloaders no longer
> works reliably. Various fastboot commands are affected, including the
> following, which usually reproduces the problem within two tries:
>
> fastboot getvar kernel
>
> A typical error message when that command fails:
>
> getvar:kernel FAILED (remote: 'GetVar Variable Not found')
>
> Adding the quirk resolves the regression. No drawbacks are expected,
> since the device uses different USB product IDs outside of fastboot
> mode, and since fastboot commands worked until LPM was enabled by the
> aforementioned commit.
>
> Cc: stable@xxxxxxxxxxxxxxx
> Link: https://lore.kernel.org/hk8umj9lv4l4qguftdq1luqtdrpa1gks5l@xxxxxxxxx
> Signed-off-by: Forest <forestix@xxxxxxx>
> ---
> drivers/usb/core/quirks.c | 3 +++
> 1 file changed, 3 insertions(+)

Always use scripts/get_maintainer.pl to get the correct people to cc:

Also, we need a "real" name here, sorry.

thanks,

greg k-h