Skip to content
Commit a6dd5265 authored by Yang Yingliang's avatar Yang Yingliang Committed by Mauro Carvalho Chehab
Browse files

media: i2c: ov5648: fix wrong pointer passed to IS_ERR() and PTR_ERR()



IS_ERR() and PTR_ERR() use wrong pointer, it should be
sensor->dovdd, fix it.

Fixes: e43ccb0a ("media: i2c: Add support for the OV5648 image sensor")
Reported-by: default avatarHulk Robot <hulkci@huawei.com>
Signed-off-by: default avatarYang Yingliang <yangyingliang@huawei.com>
Signed-off-by: default avatarSakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@kernel.org>
parent 1d1d8669
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment