]> 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)
commit94082fc8d0b86fc0c2c44f8d6ee22c289b037a98
treea827e436bfaba9e440e7bd0897b4cc0d0640e176
parent364fa2238d93e30b44df29769e08f928ab604ff5
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