]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/commitdiff
[media] cx231xx: move printk() line related to 417 initialization
authorDevin Heitmueller <dheitmueller@hauppauge.com>
Wed, 18 Aug 2010 21:09:28 +0000 (18:09 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Thu, 21 Oct 2010 03:17:31 +0000 (01:17 -0200)
Move a printk() message which refers to enabling the cx23417 so that it only
shows up on a board that has the cx23417.

Signed-off-by: Devin Heitmueller <dheitmueller@hauppauge.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/cx231xx/cx231xx-cards.c

index ad9d0485614e8084d39512cc594c1cc3b504a65d..b3a67605db2bd92f19c5422c7a689f7b7a76ab79 100644 (file)
@@ -761,8 +761,8 @@ static int cx231xx_init_dev(struct cx231xx **devhandle, struct usb_device *udev,
        /* Reset other chips required if they are tied up with GPIO pins */
        cx231xx_add_into_devlist(dev);
 
-       printk(KERN_INFO "attach 417 %d\n", dev->model);
        if (dev->model == CX231XX_BOARD_CNXT_VIDEO_GRABBER) {
+               printk(KERN_INFO "attach 417 %d\n", dev->model);
                if (cx231xx_417_register(dev) < 0) {
                        printk(KERN_ERR
                                "%s() Failed to register 417 on VID_B\n",