diff options
author | David Lechner <[email protected]> | 2023-10-10 16:12:33 -0500 |
---|---|---|
committer | Jonathan Cameron <[email protected]> | 2023-10-12 08:56:08 +0100 |
commit | 27ffa2216acfab3527064ec13666f35d70f76045 (patch) | |
tree | e5832bb8b82159c036f272a264bd681c2185c86c /drivers/fpga/fpga-mgr.c | |
parent | 73aa842baf877cc8c8da819f4ea927307dd8b6e4 (diff) |
staging: iio: resolver: ad2s1210: refactor sample toggle
This refactors the sample line toggle in the ad2s1210 resolver driver
to a separate function. The sample has some timing requirements, so
this ensures that it is always done the same way, both in the existing
call sites and any future usage.
Previously, the sample line was kept on for the duration of the read,
but this is not necessary. Data is latched in on the rising edge and
after the specified delay the state of the sample line does not matter.
Signed-off-by: David Lechner <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-mgr.c')
0 files changed, 0 insertions, 0 deletions