hw/sensor/tmp105: Pass 'oneshot' argument to tmp105_alarm_update()
authorPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 6 Sep 2024 15:22:58 +0000 (17:22 +0200)
committerPhilippe Mathieu-Daudé <philmd@linaro.org>
Fri, 13 Sep 2024 18:11:13 +0000 (20:11 +0200)
commit0339fa791046288311501e06361f4d3f7e7270df
treed9475a494b19e0311144d39ce6d8ce680531f48f
parent94a4e18cec512c1aaf7b6049314bb954337a3ab1
hw/sensor/tmp105: Pass 'oneshot' argument to tmp105_alarm_update()

The next commit will clear the ONE_SHOT bit in the WRITE
path (to keep the READ path trivial). As a preliminary step,
pass the 'oneshot' value as argument to tmp105_alarm_update().
No logical change intended.

Signed-off-by: Philippe Mathieu-Daudé <philmd@linaro.org>
Reviewed-by: Guenter Roeck <linux@roeck-us.net>
Message-Id: <20240906154911.86803-4-philmd@linaro.org>
hw/sensor/tmp105.c