]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit90017756ebb1dae0cba9cacf0e280855b663c6ea
treeb93ef646e4343d7ba4baad0ace663b562bbfb01f
parent7fe8f50ff6bf58b2bb3388624c62c3b2aedb51f1
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