]> www.infradead.org Git - users/jedix/linux-maple.git/commit
xhci: Combine two if statements for Etron xHCI host
authorKuangyi Chiang <ki.chiang65@gmail.com>
Wed, 6 Nov 2024 10:14:43 +0000 (12:14 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 6 Nov 2024 12:26:15 +0000 (13:26 +0100)
commitd7b11fe5790203fcc0db182249d7bfd945e44ccb
tree09486165a7db996d24e0cda6d0d8b2019ffa1599
parentf53ce003ccd523e83eda15e724aa7a79ae64f09f
xhci: Combine two if statements for Etron xHCI host

Combine two if statements, because these hosts have the same
quirk flags applied.

[Mathias: has stable tag because other fixes in series depend on this]

Fixes: 91f7a1524a92 ("xhci: Apply broken streams quirk to Etron EJ188 xHCI host")
Cc: stable@vger.kernel.org
Signed-off-by: Kuangyi Chiang <ki.chiang65@gmail.com>
Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20241106101459.775897-18-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-pci.c