linux-arm-kernel.lists.infradead.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v2 0/1] ARM: omap3: Fix regression in dpll4 child clock frequency setting.
@ 2013-05-30  8:49 jean-philippe francois
  0 siblings, 0 replies; only message in thread
From: jean-philippe francois @ 2013-05-30  8:49 UTC (permalink / raw)
  To: linux-arm-kernel

Hi,

The following patch fixes a wrong container_of usage for omap3630.
All sub clock of dpll4 that do not use a reset value as divider are
affected.

For instance CAM_MCLK is 216 MHz instead of the asked 172,8 MHz
Any user of this clock is affected. This is the case for instance if
CAM_XCLKA is used to provide clock for an external camera.

Beyond wrong frequency setting, this is also a potential oops waiting
to bite any omap3isp user, since a wrong pointer is dereferenced, and
content of this pointer is used to do __raw_writel / __raw_readl.

v2 :
Follow Mike Turquette's comment and use clock framework instead of
directly accessing register.

Regards,
Jean-Philippe Fran?ois

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2013-05-30  8:49 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-05-30  8:49 [PATCH v2 0/1] ARM: omap3: Fix regression in dpll4 child clock frequency setting jean-philippe francois

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).