From: Dominik Brodowski Date: Sat, 2 Jan 2010 11:28:04 +0000 (+0100) Subject: pcmcia: validate CIS, not CIS cache. X-Git-Tag: v2.6.34-rc1~270^2~45 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=904e377744bfdcea276c27167fa6a609929f39dc;p=pandora-kernel.git pcmcia: validate CIS, not CIS cache. In pccard_validate_cis(), validate the card CIS, not the CIS cache. Also, destroy the CIS cache if pccard_validate_cis fails. Furthermore, do not remove the fake CIS in destroy_cis_cache() but do so explicitely in the code paths where it makes sense. Tested-by: Wolfram Sang Signed-off-by: Dominik Brodowski --- Reading git-diff-tree failed