[PATCH v5 08/46] hwmon: pwm-fan: use pwm_get_args() where appropriate

Kamil Debski k.debski at samsung.com
Fri Apr 1 01:29:57 PDT 2016


Hi Boris,

From: Boris Brezillon [mailto:boris.brezillon at free-electrons.com]
Sent: Wednesday, March 30, 2016 10:04 PM
Subject: [PATCH v5 08/46] hwmon: pwm-fan: use pwm_get_args() where
appropriate
> 
> The PWM framework has clarified the concept of reference PWM config (the
> platform dependent config retrieved from the DT or the PWM lookup table)
> and real PWM state.
> 
> Use pwm_get_args() when the PWM user wants to retrieve this reference
> config and not the current state.
> 
> This is part of the rework allowing the PWM framework to support hardware
> readout and expose real PWM state even when the PWM has just been
> requested (before the user calls pwm_config/enable/disable()).
> 
> Signed-off-by: Boris Brezillon <boris.brezillon at free-electrons.com>

Acked-by: Kamil Debski <k.debski at samsung.com>

Best wishes,
-- 
Kamil Debski
Samsung R&D Institute Poland





More information about the linux-arm-kernel mailing list