Skip to content
Commit e8e68fd8 authored by Dominik Brodowski's avatar Dominik Brodowski
Browse files

pcmcia: do not break rsrc_nonstatic when handling anonymous cards



Patch 1c6c9b1d caused a regression for rsrc_nonstatic: It relies
on pccard_validate_cis() to determine whether an iomem resource can
be used for PCMCIA cards. This override, however, lead invalid iomem
resources to be accepted -- and lead to a fake CIS being used instead
of the original CIS.

To fix this issue, move the override for anonymous cards to the one
place where it is needed -- when adding a PCMCIA device.

Signed-off-by: default avatarDominik Brodowski <linux@dominikbrodowski.net>
parent d19319af
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment