Commit f7ad3d4b authored by Jiri Pirko's avatar Jiri Pirko Committed by David S. Miller

mlxsw: reg: Fix pwm_frequency field size in MFCR register

The field is 7bit long. Fix it.
Signed-off-by: default avatarJiri Pirko <jiri@mellanox.com>
Signed-off-by: default avatarDavid S. Miller <davem@davemloft.net>
parent 98e4321b
...@@ -4424,7 +4424,7 @@ enum mlxsw_reg_mfcr_pwm_frequency { ...@@ -4424,7 +4424,7 @@ enum mlxsw_reg_mfcr_pwm_frequency {
* Controls the frequency of the PWM signal. * Controls the frequency of the PWM signal.
* Access: RW * Access: RW
*/ */
MLXSW_ITEM32(reg, mfcr, pwm_frequency, 0x00, 0, 6); MLXSW_ITEM32(reg, mfcr, pwm_frequency, 0x00, 0, 7);
#define MLXSW_MFCR_TACHOS_MAX 10 #define MLXSW_MFCR_TACHOS_MAX 10
......
Markdown is supported
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