media: vim2m: print device name after registering device
Move the v4l2_info() call displaying the video device name after the device is actually registered. This fixes a bug where the driver was always displaying "/dev/video0" since it was reading from the vfd before it was registered. Fixes: cf7f3477 ("media: vim2m: Register video device after setting up internals") Cc: stable@vger.kernel.org Signed-off-by:Matthew Majewski <mattwmajewski@gmail.com> Signed-off-by:
Hans Verkuil <hverkuil@xs4all.nl>
Loading
Please register or sign in to comment