diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2017-07-21 04:54:40 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@s-opensource.com> | 2017-08-08 06:01:42 -0400 |
commit | be2d2dcdbec272fa5a9125842ae3f7977ea73a76 (patch) | |
tree | 7beabe777f526d178ff7cab86708e92f832a329d /drivers/staging/media/atomisp/pci/atomisp2 | |
parent | 71269bf607bcb6e51970c90428e8a912857ea728 (diff) | |
download | op-kernel-dev-be2d2dcdbec272fa5a9125842ae3f7977ea73a76.zip op-kernel-dev-be2d2dcdbec272fa5a9125842ae3f7977ea73a76.tar.gz |
media: atomisp2: don't set driver_version
This field will be removed as it is not needed anymore.
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
Diffstat (limited to 'drivers/staging/media/atomisp/pci/atomisp2')
-rw-r--r-- | drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c index 2f49562..663aa91 100644 --- a/drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c +++ b/drivers/staging/media/atomisp/pci/atomisp2/atomisp_v4l2.c @@ -1099,9 +1099,7 @@ atomisp_load_firmware(struct atomisp_device *isp) fw_path = "shisp_2400b0_v21.bin"; if (!fw_path) { - dev_err(isp->dev, - "Unsupported driver_version 0x%x, hw_revision 0x%x\n", - isp->media_dev.driver_version, + dev_err(isp->dev, "Unsupported hw_revision 0x%x\n", isp->media_dev.hw_revision); return NULL; } @@ -1249,8 +1247,6 @@ static int atomisp_pci_probe(struct pci_dev *dev, /* This is not a true PCI device on SoC, so the delay is not needed. */ isp->pdev->d3_delay = 0; - isp->media_dev.driver_version = LINUX_VERSION_CODE; - switch (id->device & ATOMISP_PCI_DEVICE_SOC_MASK) { case ATOMISP_PCI_DEVICE_SOC_MRFLD: isp->media_dev.hw_revision = |