net: hns3: disable interrupt when ptp init failed
When ptp init failed, we'd better disable the interrupt and clear the flag, to avoid early report interrupt at next probe. Fixes: 0bf5eb78 ("net: hns3: add support for PTP") Signed-off-by:Yonglong Liu <liuyonglong@huawei.com> Signed-off-by:
Jijie Shao <shaojijie@huawei.com> Reviewed-by:
Simon Horman <horms@kernel.org> Link: https://patch.msgid.link/20250722125423.1270673-3-shaojijie@huawei.com Signed-off-by:
Paolo Abeni <pabeni@redhat.com>
Loading
Please sign in to comment