Re: [PATCH 1/2] ASoC: simple-card-utils: add ignore_zero_sysclk flag

Mark Brown
2026-03-17T13:39:22Z

[-- Attachment #1: Type: text/plain, Size: 735 bytes --]

On Tue, Mar 17, 2026 at 09:49:09AM +0000, Sheetal wrote:
> Commit 2458adb8f92a ("SoC: simple-card-utils: set 0Hz to
> sysclk when shutdown") updated the simple-card-util driver to
> send 0Hz frequency requests during stream shutdown, which can
> request frequencies lower than a platform may support.

> Add ignore_zero_sysclk flag to struct simple_util_priv to allow drivers
> to ignore these 0Hz sysclk requests when they would result in a clock
> frequency below the hardware's minimum allowed rate.

If the driver simply can't tolerate disabling the sysclk it seems like
it would be easier to just have the driver directly ignore attempts to
do so rather than adding this flag which the driver has to set only to
get it passed in?

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 488 bytes --]