mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-07 12:25:00 -04:00
spi: spi-msm-geni: Bypass hw_version read for SVM
QUP common registers should not be accessed from SVM as that memory is assigned to PVM. So, bypass the reading of hw version registers and rely on PVM for the specific HW initialization done based on different hw versions. Change-Id: I1f18c80aaf143daf4da1402aa617d3b8f52f9b95 Signed-off-by: Vipin Deep Kaur <vkaur@codeaurora.org>
This commit is contained in:
parent
cfcc5550df
commit
aad84d1d48
1 changed files with 11 additions and 0 deletions
|
|
@ -1147,6 +1147,17 @@ setup_ipc:
|
|||
mas->tx_fifo_width);
|
||||
if (!mas->shared_ee)
|
||||
mas->setup = true;
|
||||
|
||||
/*
|
||||
* Bypass hw_version read for LE. QUP common registers
|
||||
* should not be accessed from SVM as that memory is
|
||||
* assigned to PVM. So, bypass the reading of hw version
|
||||
* registers and rely on PVM for the specific HW initialization
|
||||
* done based on different hw versions.
|
||||
*/
|
||||
if (mas->is_le_vm)
|
||||
return ret;
|
||||
|
||||
hw_ver = geni_se_qupv3_hw_version(mas->wrapper_dev, &major,
|
||||
&minor, &step);
|
||||
if (hw_ver)
|
||||
|
|
|
|||
Loading…
Reference in a new issue