diff options
author | Matt Ranostay <matt.ranostay@konsulko.com> | 2018-11-24 17:03:23 -0500 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab+samsung@kernel.org> | 2018-12-07 08:33:23 -0500 |
commit | ac11da47ff45f1f6f19c87cde6f36d9b17d42989 (patch) | |
tree | 297c6170f79d5e96d191eaf02abcfe85c8d69413 /drivers/media/platform/vimc/vimc-core.c | |
parent | 69d2a734c5dc7085365e752a7e8e35999c7a6c20 (diff) | |
download | linux-ac11da47ff45f1f6f19c87cde6f36d9b17d42989.tar.bz2 |
media: video-i2c: check if chip struct has set_power function
Not all future supported video chips will always have power management
support, and so it is important to check before calling set_power() is
defined.
Signed-off-by: Matt Ranostay <matt.ranostay@konsulko.com>
Reviewed-by: Akinobu Mita <akinobu.mita@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
Diffstat (limited to 'drivers/media/platform/vimc/vimc-core.c')
0 files changed, 0 insertions, 0 deletions