]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
Fix Xilinx SystemACE driver to handle empty CF slot
authorGrant Likely <grant.likely@secretlab.ca>
Mon, 9 Mar 2009 12:42:24 +0000 (13:42 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Sat, 14 Mar 2009 20:06:52 +0000 (21:06 +0100)
commitbfbd442f69ec9c58590ffc6e93ac8d6809caa48b
treea59b1df605fe80e923d11935a13894cc09ca5e33
parent059ea3318c8ede71851a52b4359fbf1ab0cec301
Fix Xilinx SystemACE driver to handle empty CF slot

The SystemACE driver does not handle an empty CF slot gracefully. An
empty CF slot ends up hanging the system. This patch adds a check for
the CF state and stops trying to process requests if the slot is empty.

Signed-off-by: Grant Likely <grant.likely@secretlab.ca>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/xsysace.c