Merge "msm: ais: fix crash during dumping io register"
This commit is contained in:
commit
cd8e767d77
1 changed files with 5 additions and 0 deletions
|
@ -69,6 +69,11 @@ static void msm_ispif_io_dump_reg(struct ispif_device *ispif)
|
|||
{
|
||||
if (!ispif->enb_dump_reg)
|
||||
return;
|
||||
if (!ispif->base) {
|
||||
pr_err("%s: null pointer for the ispif base\n", __func__);
|
||||
return;
|
||||
}
|
||||
|
||||
msm_camera_io_dump(ispif->base, 0x250, 0);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue