Commit 60662882 authored by Howard Yen's avatar Howard Yen Committed by Greg Kroah-Hartman
Browse files

FROMLIST: usb: xhci-plat: add xhci_plat_priv_overwrite



Add an overwrite to platform specific callback for setting up the
xhci_vendor_ops, allow vendor to store the xhci_vendor_ops and
overwrite them when xhci_plat_probe invoked.

This change is depend on Commit in this patch series
("usb: host: add xhci hooks for USB offload"), vendor needs
to invoke xhci_plat_register_vendor_ops() to register the vendor specific
vendor_ops. And the vendor_ops will overwrite the vendor_ops inside
xhci_plat_priv in xhci_vendor_init() during xhci-plat-hcd probe.

Change-Id: I8030fe3bd274615f5926f19014c3a3e066ca9dba
Signed-off-by: default avatarHoward Yen <howardyen@google.com>
Bug: 175358363
Link: https://lore.kernel.org/r/20210119101044.1637023-1-howardyen@google.com


Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@google.com>
Signed-off-by: default avatarJaeHun Jung <jh0801.jung@samsung.com>
parent 6496f6cf
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment