Messages in this thread | | | From | Guenter Roeck <> | Subject | Re: [PATCH] hwmon : (mr75203) fix macro typo | Date | Wed, 15 Dec 2021 03:59:09 -0800 |
| |
On 12/15/21 3:30 AM, Arseny Demidov wrote: > In the file mr75203.c we have a macro named > POWER_DELAY_CYCLE_256, the correct value should be 0x100 >
How do you know that ? Do you have access to the datasheet, or is it just an assumption based on the name of the define ?
Guenter
> Signed-off-by: Arseny Demidov <a.demidov@yadro.com> > --- > drivers/hwmon/mr75203.c | 2 +- > 1 file changed, 1 insertion(+), 1 deletion(-) > > diff --git a/drivers/hwmon/mr75203.c b/drivers/hwmon/mr75203.c > index 868243dba1ee..1ba1e3145969 100644 > --- a/drivers/hwmon/mr75203.c > +++ b/drivers/hwmon/mr75203.c > @@ -93,7 +93,7 @@ > #define VM_CH_REQ BIT(21) > > #define IP_TMR 0x05 > -#define POWER_DELAY_CYCLE_256 0x80 > +#define POWER_DELAY_CYCLE_256 0x100 > #define POWER_DELAY_CYCLE_64 0x40 > > #define PVT_POLL_DELAY_US 20 >
| |