]> git.karo-electronics.de Git - linux-beck.git/commit
mg_disk: Add missing ready status check on mg_write()
authorunsik Kim <donari75@gmail.com>
Tue, 28 Jul 2009 06:57:33 +0000 (08:57 +0200)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 28 Jul 2009 06:57:33 +0000 (08:57 +0200)
commita85a00a699740f6f9863f88aef22060fe1534681
tree9a9c675ef28e92b4b1a6cdd0ecedc70eacde7888
parent394c6cc63c1d6900ad7498a3221a1d48fc00c4fa
mg_disk: Add missing ready status check on mg_write()

When last sector is written, ready bit of status register should be
checked.

Signed-off-by: unsik Kim <donari75@gmail.com>
Acked-by: Bartlomiej Zolnierkiewicz <bzolnier@gmail.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/block/mg_disk.c