Re: [PATCH] USB: serial: sierra: clean up special-interface handling

From: Johan Hovold
Date: Tue Jul 14 2020 - 05:55:51 EST


On Mon, Jul 13, 2020 at 05:51:27PM +0200, Greg Kroah-Hartman wrote:
> On Mon, Jul 13, 2020 at 05:39:36PM +0200, Johan Hovold wrote:
> > Clean up the handling of special interfaces that either should be
> > ignored or that need a larger number of URBs.
> >
> > Commit 66f092ed3b94 ("USB: serial: sierra: unify quirk handling logic")
> > replaced the previous is_blacklisted() and is_highmemory() helpers with
> > a single is_quirk() helper which made it even harder to understand what
> > the interface lists were used for.
> >
> > Rename the interface-list struct, its members and the interface-lookup
> > helper and restructure the code somewhat in order to make it more
> > self-explanatory.
>
> Much better, that was messy, thanks for cleaning this up.
>
> Reviewed-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>

Now applied.

Johan