OSDN Git Service

usb: host: xhci-tegra: Extract firmware enable helper
authorThierry Reding <treding@nvidia.com>
Fri, 6 Dec 2019 14:06:48 +0000 (15:06 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Dec 2019 10:36:27 +0000 (11:36 +0100)
commit96d8f628f0b35e1c1d93340cd4d2cde1ed3b8d9f
tree8668cbf1552d7add694568b3b63bfb16622ca214
parent482ba7a6b42fa87dc8fa7d8c6140a916d0506549
usb: host: xhci-tegra: Extract firmware enable helper

Extract a helper that enables message generation from the firmware. This
removes clutter from tegra_xusb_probe() and will also come in useful for
subsequent patches that introduce suspend/resume support.

Based on work by JC Kuo <jckuo@nvidia.com>.

Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://lore.kernel.org/r/20191206140653.2085561-6-thierry.reding@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-tegra.c