mmc: sdhi: Add write16_hook
commit973ed3af1a570612771ed10dec6506c757767668
authorSimon Horman <horms@verge.net.au>
Mon, 20 Jun 2011 23:00:10 +0000 (21 08:00 +0900)
committerChris Ball <cjb@laptop.org>
Wed, 20 Jul 2011 21:20:57 +0000 (20 17:20 -0400)
treedb993034cacfcc3f3388c43d96459a123adc32a2
parenta11862d3389d4304211eed0758f510d5e573f93c
mmc: sdhi: Add write16_hook

Some controllers require waiting for the bus to become idle
before writing to some registers. I have implemented this
by adding a hook to sd_ctrl_write16() and implementing
a hook for SDHI which waits for the bus to become idle.

Cc: Guennadi Liakhovetski <g.liakhovetski@gmx.de>
Cc: Magnus Damm <magnus.damm@gmail.com>
Signed-off-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sh_mobile_sdhi.c
drivers/mmc/host/tmio_mmc.h
include/linux/mfd/tmio.h
include/linux/mmc/tmio.h