Skip to content
Commit fcf53477 authored by Witold Sadowski's avatar Witold Sadowski Committed by Kevin Hao
Browse files

drivers:spi:cadence-xspi: Verify clock before operation



commit 5af1c56f483576ca7bb027723fe025dcbcd12481 from
git@git.assembla.com:cavium/WindRiver.linux.git

Verify if correct clock is set before sending STIG command.
Clock config might be changed by other component, without
notyfing kernel.
To fix it, before sending STIG command verify if correct
clock is set, and if not - set it.

Signed-off-by: default avatarWitold Sadowski <wsadowski@marvell.com>
Change-Id: Id3b1ffbd1907e285333bf3d9b2e8e96c485ee1a4
Reviewed-on: https://sj1git1.cavium.com/c/IP/SW/kernel/linux/+/91567


Tested-by: default avatarsa_ip-sw-jenkins <sa_ip-sw-jenkins@marvell.com>
Reviewed-by: default avatarChandrakala Chavva <cchavva@marvell.com>
Signed-off-by: default avatarBeniamin Sandu <beniamin.sandu@windriver.com>
parent c19d230f
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment