summary refs log tree commit diff stats
path: root/ui/sdl2-input.c
diff options
context:
space:
mode:
authorPhilippe Mathieu-Daudé <philmd@linaro.org>2024-09-06 17:18:42 +0200
committerPhilippe Mathieu-Daudé <philmd@linaro.org>2024-09-13 20:11:13 +0200
commitbf4e487057fe4998ec494c00cc97242c0f37873e (patch)
tree2e400e32cd88e495ccd41e387a9fb116ee362815 /ui/sdl2-input.c
parent0339fa791046288311501e06361f4d3f7e7270df (diff)
downloadfocaccia-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