usb: xhci-mtk: make IPPC register optional
Make IPPC register optional to support host side of dual-role mode, due to it is moved into common glue layer for simplification. Signed-off-by: Chunfeng Yun <chunfeng.yun@mediatek.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:

committed by
Greg Kroah-Hartman

parent
77100acca9
commit
065d48cf40
@@ -118,6 +118,7 @@ struct xhci_hcd_mtk {
|
||||
struct usb_hcd *hcd;
|
||||
struct mu3h_sch_bw_info *sch_array;
|
||||
struct mu3c_ippc_regs __iomem *ippc_regs;
|
||||
bool has_ippc;
|
||||
int num_u2_ports;
|
||||
int num_u3_ports;
|
||||
struct regulator *vusb33;
|
||||
|
Reference in New Issue
Block a user