Skip to content
Commit f5b29c05 authored by Shijith Thotton's avatar Shijith Thotton Committed by Ruiqiang Hao
Browse files

octeontx2-af: cn10k: fix devlink register warnings



commit 2312fa3579c076bde0f58206df7751d887ae474e from
git@git.assembla.com:cavium/WindRiver.linux.git

Set and get operation is mandatory during registration of devlink
parameters in non-driverinit mode. Otherwise a warnings will be shown
during the registration.

Set operation was missing for tim_capture_<clock> parameters as those
resisters are read only. Added a dummy function to fix the warning.

Fixes: 2eb0fefb0fad ("octeontx2-af: cn10k: devlink params to configure
		       TIM")

Signed-off-by: default avatarShijith Thotton <sthotton@marvell.com>
Change-Id: I0b847368429d0968b2d7a37a8680d74c76295293
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/66677


Tested-by: default avatarsa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com>
Reviewed-by: default avatarSunil Kovvuri Goutham <sgoutham@marvell.com>
Signed-off-by: default avatarRuiqiang Hao <Ruiqiang.Hao@windriver.com>
parent 5f5dd599
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment