]> git.karo-electronics.de Git - karo-tx-linux.git/commit
ENGR00269604 Fix the set clock-rate for audio & video
authorMahesh Mahadevan <Mahesh.Mahadevan@freescale.com>
Wed, 26 Jun 2013 14:44:59 +0000 (09:44 -0500)
committerOliver Wendt <ow@karo-electronics.de>
Mon, 30 Sep 2013 12:14:10 +0000 (14:14 +0200)
commit2665b6eea4aec3b8d7e6099bae926ae0179ee618
tree4f0563bd5e6bdc2050aa36ac6fa332bfdbe84abc
parentaa1b1e208bd8a97bcf13f97404ab9d09f3225719
ENGR00269604 Fix the set clock-rate for audio & video

There is single method to set clock-rate for both audio and video pll-s
in i.MX6q clock system implementation. That's possible due to they have
similar set of registers with a different bases. But there is also one
common register: CCM_ANALOG_MISC2, which contains post-dividers.

In current implementation, independently of whether audio or video clock
is going to be set, the mask 0xc0000000 is applied to MISC2 register.
This means, that if the audio clock rate is changed, the video clock
post-dividers possibly will be corrupted.

This patch fixes the issue described above.

Signed-off-by: Alexander Smirnov <alex.bluesman.smirnov@gmail.com>
Signed-off-by: Mahesh Mahadevan <Mahesh.Mahadevan@freescale.com>
arch/arm/mach-mx6/clock.c