]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit1d0d2a539d3d6212fed382e027ed4aa0c21b3a3c
tree8def135423e41bbed9019dde2986a1cfc5153089
parent49237e3edf24a9f97c8da03698af1aef2edacd45
[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