tifm_sd: handle non-power-of-2 block sizes
authorAlex Dubov <oakad@yahoo.com>
Wed, 14 Nov 2007 12:55:36 +0000 (23:55 +1100)
committerPierre Ossman <drzeus@drzeus.cx>
Wed, 21 Nov 2007 17:42:45 +0000 (18:42 +0100)
commitb37a05069b9ab9fb1e52393a3448d710c50c54d5
tree04de6bb95d9835e96c9b2c269348206570160ce4
parentd198f101989d9bb950327f0d043f6203bb862343
tifm_sd: handle non-power-of-2 block sizes

It is possible to handle arbitrary block sizes with tifm card reader by
conditionally switching to PIO in case such block has to be delivered. At
the beginning of each request, DMA is either disabled (non-power-of-2 block
size) or set to load time user preference.

Signed-off-by: Alex Dubov <oakad@yahoo.com>
Signed-off-by: Pierre Ossman <drzeus@drzeus.cx>
drivers/mmc/host/tifm_sd.c