upstream: [media] em28xx-v4l: do not call em28xx_init_camera() if the device has...
authorFrank Schaefer <fschaefer.oss@googlemail.com>
Fri, 17 Jan 2014 17:45:32 +0000 (14:45 -0300)
committerChanho Park <chanho61.park@samsung.com>
Tue, 18 Nov 2014 02:54:37 +0000 (11:54 +0900)
commit664d006df20ded5f070f9e70a7b27a93c06fff91
tree9f179428d072175a16a8cc358838c17b59a612f8
parent1543799afbaff97f75e29feeadda8610aa40556f
upstream: [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