Skip to content
Commit c82b38c7 authored by Fabio Baltieri's avatar Fabio Baltieri Committed by Alberto Escolar
Browse files

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: default avatarFabio Baltieri <fabiobaltieri@google.com>
parent 2c5b9922
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment