]> git.baikalelectronics.ru Git - kernel.git/commit
[media] em28xx-v4l: do not call em28xx_init_camera() if the device has no sensor
authorFrank Schaefer <fschaefer.oss@googlemail.com>
Fri, 17 Jan 2014 17:45:32 +0000 (14:45 -0300)
committerMauro Carvalho Chehab <m.chehab@samsung.com>
Tue, 4 Feb 2014 18:41:21 +0000 (16:41 -0200)
commit701d6a1fedac5e503c2a0d4932b9d65b571aa1b5
tree842e5d68dab3b4c1d53c72c4096fb1dcacf2407b
parentfef058c1da2c24f47c15a95bad111d2b79628500
[media] em28xx-v4l: do not call em28xx_init_camera() if the device has no sensor

This avoids the unnecessary temporary registration of a dummy V4L2 clock.

Signed-off-by: Frank Schäfer <fschaefer.oss@googlemail.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
drivers/media/usb/em28xx/em28xx-video.c