diff options
author | Sammy He <r62914@freescale.com> | 2011-05-31 00:26:57 +0800 |
---|---|---|
committer | Alan Tull <alan.tull@freescale.com> | 2011-06-03 16:42:08 -0500 |
commit | d92b117c704aa5e57adbcf5dd8c3f7dc7e4f88a0 (patch) | |
tree | 1d42f0e7c23f31c3cdba46cef123ad9527f45a17 /arch | |
parent | f3b917375c3c05aaaf3d73086ddf872c4e246277 (diff) |
ENGR00144219 Fix vpu caused system hang due to clock gated off on mx53
The specific stream 'mpeg2_720x576.mpg' in test lib will make system
hang when deblock/dering is enabled with following cmd:
./mxc_vpu_test.out -D "-i mpeg2_720x576.mpg -f 4 -e 1 -d 1"
This is because vpu decoding is dependent on emi_intr_clk[0], but
this dependency isn't added.
So adding this in mx53_clocks_init() function.
Signed-off-by: Sammy He <r62914@freescale.com>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/arm/mach-mx5/clock.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/arch/arm/mach-mx5/clock.c b/arch/arm/mach-mx5/clock.c index 46c81493c59b..c051fd80488f 100644 --- a/arch/arm/mach-mx5/clock.c +++ b/arch/arm/mach-mx5/clock.c @@ -4861,6 +4861,8 @@ int __init mx53_clocks_init(unsigned long ckil, unsigned long osc, unsigned long esdhc3_clk[0].get_rate = _clk_esdhc3_get_rate; esdhc3_clk[0].set_rate = _clk_sdhc3_set_rate; + vpu_clk[2].secondary = &emi_intr_clk[0]; + ata_clk[1].secondary = &tmax3_clk; #if defined(CONFIG_USB_STATIC_IRAM) \ |