diff options
author | Michael Chan <[email protected]> | 2022-05-02 21:13:11 -0400 |
---|---|---|
committer | Jakub Kicinski <[email protected]> | 2022-05-03 17:41:32 -0700 |
commit | 2b156fb57d8f0d28f2207edc646751f4717cf20d (patch) | |
tree | 09dcdefbc52d4d480fa016def61f7ab21f241abf /tools/perf/scripts/python/flamegraph.py | |
parent | 13ba794397e45e52893cfc21d7a69cb5f341b407 (diff) |
bnxt_en: Initiallize bp->ptp_lock first before using it
bnxt_ptp_init() calls bnxt_ptp_init_rtc() which will acquire the ptp_lock
spinlock. The spinlock is not initialized until later. Move the
bnxt_ptp_init_rtc() call after the spinlock is initialized.
Fixes: 24ac1ecd5240 ("bnxt_en: Add driver support to use Real Time Counter for PTP")
Reviewed-by: Pavan Chebbi <[email protected]>
Reviewed-by: Saravanan Vajravel <[email protected]>
Reviewed-by: Andy Gospodarek <[email protected]>
Reviewed-by: Somnath Kotur <[email protected]>
Reviewed-by: Damodharam Ammepalli <[email protected]>
Signed-off-by: Michael Chan <[email protected]>
Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/flamegraph.py')
0 files changed, 0 insertions, 0 deletions