soundwire: bus: extend base clock checks to 96 MHz
authorPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Tue, 26 Mar 2024 09:20:25 +0000 (09:20 +0000)
committerVinod Koul <vkoul@kernel.org>
Fri, 5 Apr 2024 11:51:03 +0000 (17:21 +0530)
commit7eca9c722eed80f76cd272a52d9fa98f89322e7e
tree058252e4286bbeecc112b7fe2bbf07615ae20e8c
parent8292c815bbb71ea9f86331c3d07d2b9530b93565
soundwire: bus: extend base clock checks to 96 MHz

Starting with MeteorLake, the input frequency to the SoundWire IP can
be 96MHz. The existing code is limited to 24MHz, change accordingly
and move branch after the 32MHz case to avoid issues.

While we're at it, reorder the frequencies by increasing order.

Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: Rander Wang <rander.wang@intel.com>
Signed-off-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20240326092030.1062802-3-yung-chuan.liao@linux.intel.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/soundwire/bus.c