diff options
author | Kuninori Morimoto <kuninori.morimoto.gx@renesas.com> | 2010-11-24 03:44:06 +0100 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2010-11-24 07:29:56 +0100 |
commit | d4bc99b977e3a1dd10a84a01ebe59ac2ccebf0cd (patch) | |
tree | 441a72709a1dd40ac84b89cec8b036f00960a96b /include/sound | |
parent | ARM: mach-shmobile: clock-sh7372: remove fsidiv bogus disable (diff) | |
download | linux-d4bc99b977e3a1dd10a84a01ebe59ac2ccebf0cd.tar.xz linux-d4bc99b977e3a1dd10a84a01ebe59ac2ccebf0cd.zip |
ARM: mach-shmobile: ap4evb: FSI clock use proper process for HDMI
Current AP4 FSI set_rate function used bogus clock process
which didn't care enable/disable and clk->usecound.
To solve this issue, this patch also modify FSI driver to call
set_rate with enough options.
This patch modify it.
Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'include/sound')
-rw-r--r-- | include/sound/sh_fsi.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/sound/sh_fsi.h b/include/sound/sh_fsi.h index fa60cbda90a4..d79894192ae3 100644 --- a/include/sound/sh_fsi.h +++ b/include/sound/sh_fsi.h @@ -85,7 +85,9 @@ * ACK_MD (FSI2) * CKG1 (FSI) * - * err: return value < 0 + * err : return value < 0 + * no change : return value == 0 + * change xMD : return value > 0 * * 0x-00000AB * @@ -111,7 +113,7 @@ struct sh_fsi_platform_info { unsigned long porta_flags; unsigned long portb_flags; - int (*set_rate)(int is_porta, int rate); /* for master mode */ + int (*set_rate)(struct device *dev, int is_porta, int rate, int enable); }; #endif /* __SOUND_FSI_H */ |