OSDN Git Service

usb: host: xhci-tegra: Selectively program IPFS
authorJC Kuo <jckuo@nvidia.com>
Mon, 1 Apr 2019 10:40:46 +0000 (12:40 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 16 Apr 2019 10:15:53 +0000 (12:15 +0200)
commit160fa3a1f55fd7cbab3a8347244a71a173d85cad
treed818852064434a0ac83c42cfc89ac9b299b0e1b3
parentead619de90583f6c191b6a844129df51dda8881f
usb: host: xhci-tegra: Selectively program IPFS

Starting with Tegra186, the XUSB controller no longer has the IPFS
wrapper. This commit adds a "has_ipfs" field to struct tegra_xusb_soc
that can be used to declare the existence of the IPFS wrapper.

For the existing chips (i.e. Tegra124 and Tegra210), the new field is
set to true. A future patch adding support for Tegra186 will set it to
false.

Signed-off-by: JC Kuo <jckuo@nvidia.com>
Acked-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-tegra.c