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:
Родитель
98e4321b97
Коммит
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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче