Commit bd279e1
bnxt_en: Use absolute target ns from ptp_clock_request
There is no need to calculate the target PHC cycles required
to make phase adjustment on the PPS OUT signal. This is because
the application supplies absolute n_sec value in the future and
is already the actual desired target value.
Remove the unnecessary code.
Fixes: 9e518f2 ("bnxt_en: 1PPS functions to configure TSIO pins")
Reviewed-by: Kalesh AP <kalesh-anakkur.purayil@broadcom.com>
Cc: Richard Cochran <richardcochran@gmail.com>
Signed-off-by: Pavan Chebbi <pavan.chebbi@broadcom.com>
Reviewed-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Tested-by: Vadim Fedorenko <vadim.fedorenko@linux.dev>
Link: https://patch.msgid.link/20260504083611.1383776-5-pavan.chebbi@broadcom.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent 16517bc commit bd279e1
1 file changed
Lines changed: 5 additions & 24 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
419 | 419 | | |
420 | 420 | | |
421 | 421 | | |
422 | | - | |
423 | | - | |
424 | | - | |
425 | | - | |
426 | | - | |
427 | | - | |
428 | | - | |
429 | | - | |
430 | | - | |
431 | | - | |
432 | | - | |
433 | | - | |
434 | | - | |
435 | | - | |
436 | | - | |
437 | | - | |
438 | | - | |
439 | | - | |
440 | 422 | | |
441 | 423 | | |
442 | 424 | | |
443 | 425 | | |
444 | 426 | | |
445 | 427 | | |
446 | | - | |
| 428 | + | |
447 | 429 | | |
448 | 430 | | |
449 | 431 | | |
450 | 432 | | |
451 | 433 | | |
452 | 434 | | |
453 | 435 | | |
454 | | - | |
455 | | - | |
456 | | - | |
457 | | - | |
458 | 436 | | |
459 | 437 | | |
460 | 438 | | |
| |||
468 | 446 | | |
469 | 447 | | |
470 | 448 | | |
471 | | - | |
| 449 | + | |
| 450 | + | |
| 451 | + | |
| 452 | + | |
472 | 453 | | |
473 | 454 | | |
474 | 455 | | |
| |||
0 commit comments