summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/i2c-slave-testunit.c
diff options
context:
space:
mode:
authorPavan Chebbi <pavan.chebbi@broadcom.com>2023-03-21 15:44:48 +0100
committerJakub Kicinski <kuba@kernel.org>2023-03-23 04:43:22 +0100
commitedc5287315489ccc6d049efe46227cedc9ede673 (patch)
tree594bf5025a4fe1f0e49204cf17f2f0ce344314be /drivers/i2c/i2c-slave-testunit.c
parentbnxt: Change fw_cap to u64 to accommodate more capability bits (diff)
downloadlinux-edc5287315489ccc6d049efe46227cedc9ede673.tar.xz
linux-edc5287315489ccc6d049efe46227cedc9ede673.zip
bnxt: Defer PTP initialization to after querying function caps
Driver uses the flag BNXT_FLAG_MULTI_HOST to determine whether to use non-realtime mode PHC when running on a multi host NIC. However when ptp initializes on a NIC with shared PHC, we still don't have this flag set yet because HWRM_FUNC_QCFG is issued much later. Move the ptp initialization code after we have issued func_qcfg. The next patch will use the BNXT_FLAG_MULTI_HOST flag during PTP initialization. Signed-off-by: Pavan Chebbi <pavan.chebbi@broadcom.com> Reviewed-by: Michael Chan <michael.chan@broadcom.com> Acked-by: Vadim Fedorenko <vadim.fedorenko@linux.dev> Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'drivers/i2c/i2c-slave-testunit.c')
0 files changed, 0 insertions, 0 deletions