mmc: Add missing sg_init_table() call
authorHaavard Skinnemoen <hskinnemoen@atmel.com>
Fri, 23 Nov 2007 09:19:00 +0000 (10:19 +0100)
committerJens Axboe <jens.axboe@oracle.com>
Tue, 27 Nov 2007 08:19:40 +0000 (09:19 +0100)
commit05e5b136459b11cd9559370d5756719e08074fe0
tree1e4888953d39ee1905de676b2e6e326e8faa5b57
parentc7674030e5eb83d9ba29318fb9b3ccedf84d583e
mmc: Add missing sg_init_table() call

mmc_init_queue only initializes the scatterlists with sg_init_table()
when using a bounce buffer. This leads to a BUG() when CONFIG_DEBUG_SG
is set.

Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
drivers/mmc/card/queue.c