]> git.baikalelectronics.ru Git - kernel.git/commit
ptp: ptp_clockmatrix: fix is_single_shot
authorMin Li <min.li.xe@renesas.com>
Tue, 24 May 2022 14:45:01 +0000 (10:45 -0400)
committerJakub Kicinski <kuba@kernel.org>
Thu, 26 May 2022 04:51:32 +0000 (21:51 -0700)
commita0bb2fe83370d5b1f836fbd6dd4474a82ef370e5
tree7454e84b45d57b46169e0a00e405ff2a9f4636f9
parent0b3c18d490ef361ad859ae96f90a331df3c87501
ptp: ptp_clockmatrix: fix is_single_shot

is_single_shot should return false for the power_of_2 mask

Fixes: 70fabad6828f ("ptp: ptp_clockmatrix: Add PTP_CLK_REQ_EXTTS support")
Signed-off-by: Min Li <min.li.xe@renesas.com>
Link: https://lore.kernel.org/r/1653403501-12621-1-git-send-email-min.li.xe@renesas.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
drivers/ptp/ptp_clockmatrix.c