On Fri, Apr 18, 2008 at 11:38:21AM +0200, Daniel Mack wrote:
> On Fri, Apr 18, 2008 at 11:58:49AM +0300, Jarkko Nikula wrote:
> > > AIC3X_SAMPLE_RATE_SEL_REG defaults to 0 which is what I want in this
> > > case. Thus, I don't have to write it.
> > Are you sure this is a general case?
> Well, the reset default is 0 (as stated on page 44) and set_hw_params()
> is the only location where this value is written. So if it's never
> written with a different value, it should always be set to its default,
> no?
Not all systems use a static SYSCLK rate - sometimes systems will select
the rate based on their current usage. If the system has previously had
to configure it then the register won't be at the default value any more.