Hey list,
After working on a new pwm-driver I noticed that not everybody actually
has the set_polarity op and thus its an optional property. For a moment
I figured I could add a 'software' polarity function by inverting the
calculation of the on/off time, but I don't even have the hardware to
From: Olliver Schinagl
pwm_set_polarity() checks if there's ops and polarity function pointers.
Most of these pointers are actually checked when a chip is added via
pwm_add, except for set_polarity.
This patch adds set_polarity to the list of functions to test on
pwmchip_add_with_polarity(); and
2 matches
Mail list logo