[MMC] Clean up MMC card CID/CSD decoding, stage 1.
Now that the raw CSD and CID information are available in mmc_card, there's little point not passing the mmc_card structure into the decode functions themselves. This will be necessary, since there's several different formats of CID decode, and the format appears to depend on data in the CSD. If we are unable to decode the CID or CSD, we can mark the card bad and refuse to bind it to any drivers. Users can then retrieve the raw undecoded CID and CSD from sysfs for debugging purposes.
Showing
Please register or sign in to comment