commit | 1e72859e3ae16346d4007024b20d2d4ef387dcc3 | [log] [tgz] |
---|---|---|
author | Pierre Ossman <drzeus@drzeus.cx> | Wed Apr 16 19:13:13 2008 +0200 |
committer | Pierre Ossman <drzeus@drzeus.cx> | Tue Jul 15 14:14:40 2008 +0200 |
tree | 5fc8319ce14b0770546bbbf9a72c90abaf019317 | |
parent | 4489428ab5a49a6f443d9aa17f1d891417787d7b [diff] |
sdhci: handle hot-remove Gracefully handle when the device is suddenly removed. Do a test read and avoid any further access if that read returns -1. Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>