]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
media: atomisp: Fix double negation in unsupported revision error
authorHans de Goede <hdegoede@redhat.com>
Mon, 19 Feb 2024 13:19:56 +0000 (14:19 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Thu, 11 Apr 2024 13:40:28 +0000 (15:40 +0200)
s/is not unsupported/is not supported/ in the unsupported revision
error.

Suggested-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_v4l2.c

index f736e54c7df3578133646e2c6793892ac713bb08..5a97013094f26b48cabf24a45b729bd6733c72b3 100644 (file)
@@ -1363,7 +1363,7 @@ static int atomisp_pci_probe(struct pci_dev *pdev, const struct pci_device_id *i
        }
 
        if (pdev->revision <= ATOMISP_PCI_REV_BYT_A0_MAX) {
-               dev_err(&pdev->dev, "revision %d is not unsupported\n", pdev->revision);
+               dev_err(&pdev->dev, "revision %d is not supported\n", pdev->revision);
                return -ENODEV;
        }