Calculate the bit clock based on number of channels, bytes/sample and
authorkettenis <kettenis@openbsd.org>
Mon, 5 Dec 2022 07:30:51 +0000 (07:30 +0000)
committerkettenis <kettenis@openbsd.org>
Mon, 5 Dec 2022 07:30:51 +0000 (07:30 +0000)
commit603e43a22982c1a0a52036087c7d6ccc94391d3f
tree12fcf85b8107e34085c0f30ba248e08570386567
parentbf37f676d3bad0bb5562230741bd133f4a46d39d
Calculate the bit clock based on number of channels, bytes/sample and
sample rate instead of relying on the "mclk-fs" property.  This property
is no longer present in upstream device trees.

ok ratchov@
sys/arch/arm64/dev/aplaudio.c