]> git.baikalelectronics.ru Git - kernel.git/commit
ptp: ocp: Update devlink firmware display path.
authorJonathan Lemon <jonathan.lemon@gmail.com>
Tue, 8 Mar 2022 00:05:35 +0000 (16:05 -0800)
committerDavid S. Miller <davem@davemloft.net>
Wed, 9 Mar 2022 10:57:07 +0000 (10:57 +0000)
commit3fe2dc8d537056e19935a2881a708d5947996746
treea827e436bfaba9e440e7bd0897b4cc0d0640e176
parentca0de48e48c4a5e8709824813c6552b82790f6ef
ptp: ocp: Update devlink firmware display path.

Cache the firmware version when the card is initialized,
and use this field to populate the devlink firmware information.

The cached firmware version will be used for feature gating in
upcoming patches.

Signed-off-by: Jonathan Lemon <jonathan.lemon@gmail.com>
Signed-off-by: David S. Miller <davem@davemloft.net>
drivers/ptp/ptp_ocp.c