Merge "msm: ais: fix crash during dumping io register"

This commit is contained in:
Linux Build Service Account 2017-07-18 11:51:42 -07:00 committed by Gerrit - the friendly Code Review server
commit cd8e767d77

View file

@ -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);
}