opae.admin: update spi path for dfl drivers
The glob to find the location of the spi path in sysfs has changed
to dfl-fme.*.*/subdev_spi_altera.*.auto/... Update opae.admin to use
the new glob pattern for dfl drivers.
@@ -207,7 +207,9 @@ class fme(region):
@property
def spi_bus(self):
if os.path.basename(self.sysfs_path).startswith('dfl'):
- return self.find_one('dfl-fme.*.*/spi*/spi_master/spi*/spi*')
+ return self.find_one('dfl-fme.*.*/'
+ '*spi*/'
+ 'spi_master/spi*/spi*')
return self.find_one('spi*/spi_master/spi*/spi*')
@property
