Skip to content

Commit

Permalink
Avoid to define IPU7 dummy device as CAPTURE (Bugfix) (#1641)
Browse files Browse the repository at this point in the history
* add ignore IPU7 non camera device in the udevadm parser

* add unit test
  • Loading branch information
hanhsuan authored Dec 9, 2024
1 parent f0df73f commit e2b812d
Show file tree
Hide file tree
Showing 3 changed files with 13,078 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -906,6 +906,11 @@ def test_DELL_LATITUDE_7350_WITH_IPU6_DRIVER(self):
devices = self.parse("DELL_LATITUDE_7350_WITH_IPU6_DRIVER")
self.assertEqual(self.count(devices, "CAPTURE"), 1)

def test_IPU7_DRIVER(self):
# Ignore intel_ipu7_isys.isys camera driver
devices = self.parse("IPU7_DRIVER")
self.assertEqual(self.count(devices, "CAPTURE"), 1)

def test_CARA_T(self):
# A Snappy system with CANBus
devices = self.parse("CARA_T")
Expand Down
Loading

0 comments on commit e2b812d

Please sign in to comment.