commit | c82b38c7be850a6451ef3f897b81241305d302dd | [log] [tgz] |
---|---|---|
author | Fabio Baltieri <fabiobaltieri@google.com> | Thu Mar 14 19:50:43 2024 +0000 |
committer | Alberto Escolar <alberto.escolar.piedras@nordicsemi.no> | Wed Mar 20 09:02:50 2024 +0100 |
tree | 75686bcff26e6c1ee71284fe5492be92a83b6a8c | |
parent | 2c5b9922091115404a935c844851324688c8f454 [diff] |
input: pmw3610: run the whole init with spi clock on Move the pmw3610_spi_clk_on and pmw3610_spi_clk_off calls so that the "on" call is before the first write. The datasheet calls for doing this before any write operations, though some writes seems to work without this in place, other seems to behave erroneously. The non static functions do it on their own as they can be called separately. Signed-off-by: Fabio Baltieri <fabiobaltieri@google.com>