mirror of https://gitee.com/openkylin/linux.git
mlxsw: reg: Fix pwm_frequency field size in MFCR register
The field is 7bit long. Fix it. Signed-off-by: Jiri Pirko <jiri@mellanox.com> Signed-off-by: David S. Miller <davem@davemloft.net>
This commit is contained in:
parent
98e4321b97
commit
f7ad3d4b83
|
@ -4424,7 +4424,7 @@ enum mlxsw_reg_mfcr_pwm_frequency {
|
|||
* Controls the frequency of the PWM signal.
|
||||
* 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
|
||||
|
||||
|
|
Loading…
Reference in New Issue