diff options
author | Antti Seppälä <a.seppala@gmail.com> | 2011-02-13 07:29:15 -0300 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2011-03-02 13:44:40 -0300 |
commit | 0a91be40ed67ca72a81cfd842d5c2604ff1a54a4 (patch) | |
tree | fba44f43dd9df467e87e11e5f001256f4a100693 /drivers/pci/pci-label.c | |
parent | 54ebb8b83f2be99413261c8ba8238b390159a026 (diff) |
[media] Fix sysfs rc protocol lookup for rc-5-sz
With the current matching rules the lookup for rc protocol named rc-5-sz matches with "rc-5" before finding "rc-5-sz". Thus one is able to never enable/disable the rc-5-sz protocol via sysfs.
Fix the lookup to require an exact match which allows the manipulation of sz protocol.
Signed-off-by: Antti Seppälä <a.seppala@gmail.com>
Cc: stable@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/pci/pci-label.c')
0 files changed, 0 insertions, 0 deletions