spi: spi-msm-geni: Don't touch GPIOs per each xfer for LA VM
This change is to fix the GPIOs being configured to sleep state
after every transfer on LA side for TVM usecase. SPI framework
calls unprepare_transfer_hardware for every message transferred,
driver tries to keep PINs to sleep state and hence it goes to GPIO
mode making LE transfer to fail.
For TVM usecases, it's expected that Client controls the SOC infra
resources including PINs, hence GPIOs must be configured to sleep
state when client ends the session. With this change, we are keeping
GPIOs in LA configured active state for the LE VM session.
Change-Id: I58c7a0b919750cf47b382eebc08f3de097cbfeef
Signed-off-by:
Mukesh Kumar Savaliya <msavaliy@codeaurora.org>
Loading
Please register or sign in to comment