Re: [PATCH] media: vim2m: print device name after registering device
From: Shuah Khan
Date: Wed Feb 19 2025 - 16:13:40 EST
On 2/19/25 12:05, Matthew Majewski wrote:
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.
Signed-off-by: Matthew Majewski <mattwmajewski@xxxxxxxxx>
---
Thanks. Applied for 6.15-rc1 to be included in pull request to media
maintainer.
https://git.kernel.org/pub/scm/linux/kernel/git/shuah/linux.git/log/?h=vimc
thanks,
-- Shuah