Skip to content
Commit 9572f255 authored by Witold Sadowski's avatar Witold Sadowski Committed by Wenlin Kang
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 avatarWenlin Kang <wenlin.kang@windriver.com>
parent 805f5e3d
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment