Re: [RFC PATCH 3/4] rtc: rzn1: support input frequencies other than 32768Hz

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> +		if (rate != 32768)
> +			use_scmp = RZN1_RTC_CTL0_SLSB_SCMP;
> +	}
> +
> +	if (use_scmp) {
> +		writel(rate - 1, rtc->base + RZN1_RTC_SCMP);

We need to stop the RTC before writing to this register and setting the
RZN1_RTC_CTL0_SLSB_SCMP bit. I will include this in the next version.
Does not affect the big picture for these changes, though.

Attachment: signature.asc
Description: PGP signature


[Index of Archives]     [Linux Sound]     [ALSA Users]     [ALSA Devel]     [Linux Audio Users]     [Linux Media]     [Kernel]     [Gimp]     [Yosemite News]     [Linux Media]

  Powered by Linux