Re: [PATCH] media: vim2m: print device name after registering device

From: Shuah Khan
Date: Thu Feb 20 2025 - 11:31:22 EST


On 2/20/25 08:29, Matthew Majewski wrote:
On Wed, 2025-02-19 at 17:21 -0700, Shuah Khan wrote:
On 2/19/25 14:58, Uwe Kleine-Konig wrote:
On Wed, Feb 19, 2025 at 02:05:01PM -0500, 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>

A Fixes: tag would be great.

Matthew, there is no need to resend the patch. Just send me the
Fixes tag and I will update the repo.



Ok, here is the fixes tag:

Fixes: cf7f34777a5b4100a ("media: vim2m: Register video device after
setting up internals")


Thank you. commit is now updated.

thanks,
-- Shuah