summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@infradead.org>2007-05-01 10:45:32 -0300
committerMauro Carvalho Chehab <mchehab@infradead.org>2007-05-01 10:45:32 -0300
commitc90f0ab41cbba94f1676f504997fd25c1e5f02b1 (patch)
treea2c6cf7d3b06258e83c36aa1bc866b9431004e60
parentc6b4bedf8b34d0f52726bdb7c36b559421b259ea (diff)
downloadmediapointer-dvb-s2-c90f0ab41cbba94f1676f504997fd25c1e5f02b1.tar.gz
mediapointer-dvb-s2-c90f0ab41cbba94f1676f504997fd25c1e5f02b1.tar.bz2
Relax some regex for processing saa7134-cards
From: Mauro Carvalho Chehab <mchehab@infradead.org> Signed-off-by: Mauro Carvalho Chehab <mchehab@infradead.org>
-rwxr-xr-xv4l/scripts/saa7134.pl6
1 files changed, 3 insertions, 3 deletions
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") {