mmc: sh_mmcif: revision-specific CLK_CTRL2 handling
authorGuennadi Liakhovetski <g.liakhovetski@gmx.de>
Wed, 10 Jul 2013 19:21:13 +0000 (21:21 +0200)
committerChris Ball <cjb@laptop.org>
Sun, 25 Aug 2013 04:10:18 +0000 (00:10 -0400)
commit6d6fd3674259d16b735c961743ff28870c46cedc
treeb93ef646e4343d7ba4baad0ace663b562bbfb01f
parent967bcb77177cda1a426fdb2350e6ec61bcf5b5eb
mmc: sh_mmcif: revision-specific CLK_CTRL2 handling

Some newer MMCIF IP revisions contain a CE_CLK_CTRL2 register, that has to
be set for proper operation. Support for this feature is added in a way to
preserve the current behaviour by default, i.e. when it is not enabled
in platform data. Patch is based on work by Nobuyuki HIRAI.

Signed-off-by: Guennadi Liakhovetski <g.liakhovetski+renesas@gmail.com>
Signed-off-by: Chris Ball <cjb@laptop.org>
drivers/mmc/host/sh_mmcif.c
include/linux/mmc/sh_mmcif.h