hwmon: (mr75203) fix wrong power-up delay value
authorArseny Demidov <arsdemal@gmail.com>
Sun, 19 Dec 2021 10:22:39 +0000 (13:22 +0300)
committerGuenter Roeck <linux@roeck-us.net>
Sun, 26 Dec 2021 23:02:07 +0000 (15:02 -0800)
commita8d6d4992ad9d92356619ac372906bd29687bb46
treefe702bdccabe268bb5499cea53c0b15c49dca3c2
parent23c7df14f696dd64c691be34368c835cfac5017e
hwmon: (mr75203) fix wrong power-up delay value

In the file mr75203.c we have a macro named POWER_DELAY_CYCLE_256,
the correct value should be 0x100. The register ip_tmr is expressed
in units of IP clk cycles, in accordance with the datasheet.
Typical power-up delays for Temperature Sensor are 256 cycles i.e. 0x100.

Fixes: 9d823351a337 ("hwmon: Add hardware monitoring driver for Moortec MR75203 PVT controller")
Signed-off-by: Arseny Demidov <a.demidov@yadro.com>
Link: https://lore.kernel.org/r/20211219102239.1112-1-a.demidov@yadro.com
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
drivers/hwmon/mr75203.c