msm: camera: csiphy: Fix presil crash due to readl in tpg
Register read writes are expected to go through wrapper functions in presil so that they can be overridden by presil code. Change register read during tpg start to use this wrapper. CRs-Fixed: 2932495 Change-Id: Ib72f2de381e096bde146e4fb1ff8f5187eaa5717 Signed-off-by: Mukund Madhusudan Atre <matre@codeaurora.org>
This commit is contained in:

کامیت شده توسط
Gerrit - the friendly Code Review server

والد
32701c91b2
کامیت
9133c767b4
@@ -31,7 +31,7 @@ static int cam_io_tpg_dump(void __iomem *base_addr,
|
||||
REG_OFFSET(start_offset, i));
|
||||
p_str += 11;
|
||||
}
|
||||
data = readl_relaxed(base_addr + REG_OFFSET(start_offset, i));
|
||||
data = cam_io_r(base_addr + REG_OFFSET(start_offset, i));
|
||||
snprintf(p_str, 9, "%08x ", data);
|
||||
p_str += 8;
|
||||
if ((i + 1) % NUM_REGISTER_PER_LINE == 0) {
|
||||
|
مرجع در شماره جدید
Block a user