diff options
| author | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-09-06 17:18:42 +0200 |
|---|---|---|
| committer | Philippe Mathieu-Daudé <philmd@linaro.org> | 2024-09-13 20:11:13 +0200 |
| commit | bf4e487057fe4998ec494c00cc97242c0f37873e (patch) | |
| tree | 2e400e32cd88e495ccd41e387a9fb116ee362815 /ui/sdl2-input.c | |
| parent | 0339fa791046288311501e06361f4d3f7e7270df (diff) | |
| download | focaccia-qemu-bf4e487057fe4998ec494c00cc97242c0f37873e.tar.gz focaccia-qemu-bf4e487057fe4998ec494c00cc97242c0f37873e.zip | |
hw/sensor/tmp105: OS (one-shot) bit in config register always returns 0
Per datasheet, "ONE-SHOT (OS)", the OS bit always returns 0 when reading the configuration register. Clear the ONE_SHOT bit in the WRITE path. Now than the READ path is simpler, we can also simplify tmp105_alarm_update(). Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org> Reviewed-by: Cédric Le Goater <clg@kaod.org> Message-Id: <20240906154911.86803-5-philmd@linaro.org>
Diffstat (limited to 'ui/sdl2-input.c')
0 files changed, 0 insertions, 0 deletions