[media] cobalt: allow fewer than 8 PCIe lanes
authorHans Verkuil <hverkuil@xs4all.nl>
Fri, 17 Jul 2015 11:45:22 +0000 (08:45 -0300)
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>
Wed, 22 Jul 2015 14:04:57 +0000 (11:04 -0300)
commit55b858b4e5f46e71f9e5089cb63602697a49a211
tree8def135423e41bbed9019dde2986a1cfc5153089
parent810c168c233fc531ecd3e7a6d9e0b5a3ffe85da7
[media] cobalt: allow fewer than 8 PCIe lanes

Currently the cobalt driver refuses to load if fewer than 8 PCIe lanes
are assigned. This patch changes this and just issues a warning. The
only time it will refuse to load is if the number of assigned lanes is less
than what the PCIe host is capable of since this suggests that the card
isn't seated correctly in the slot.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
drivers/media/pci/cobalt/cobalt-driver.c