From c90f0ab41cbba94f1676f504997fd25c1e5f02b1 Mon Sep 17 00:00:00 2001 From: Mauro Carvalho Chehab Date: Tue, 1 May 2007 10:45:32 -0300 Subject: Relax some regex for processing saa7134-cards From: Mauro Carvalho Chehab Signed-off-by: Mauro Carvalho Chehab --- v4l/scripts/saa7134.pl | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'v4l/scripts/saa7134.pl') diff --git a/v4l/scripts/saa7134.pl b/v4l/scripts/saa7134.pl index 69648339a..2778bdccc 100755 --- a/v4l/scripts/saa7134.pl +++ b/v4l/scripts/saa7134.pl @@ -39,9 +39,9 @@ while (<>) { } # saa7134_pci_tbl - $subvendor = fix_id($1) if (/\.subvendor\s*=\s*(\w+),/); - $subdevice = fix_id($1) if (/\.subdevice\s*=\s*(\w+),/); - if (/.driver_data\s*=\s*(\w+),/) { + $subvendor = fix_id($1) if (/\.subvendor\s*=\s*(\w+)\s*,*/); + $subdevice = fix_id($1) if (/\.subdevice\s*=\s*(\w+)\s*,*/); + if (/.driver_data\s*=\s*(\w+)\s*,*/) { if (defined($data{$1}) && defined($subvendor) && $subvendor ne "0" && defined($subdevice) && $subdevice ne "0") { -- cgit v1.2.3