[PATCH 2/2] ASoC: xilinx: xlnx_i2s: Discover parameters from registers
Mark Brown
broonie at kernel.org
Thu Jan 29 09:27:58 PST 2026
On Thu, Jan 29, 2026 at 12:23:15PM -0500, Sean Anderson wrote:
> - ret = of_property_read_u32(node, "xlnx,num-channels", &drv_data->channels);
> - ret = of_property_read_u32(node, "xlnx,dwidth", &drv_data->data_width);
Given that the properties already exist it seems wise to continue to
parse them if available and prefer them over what we read from the
hardware, it would not shock me to discover that hardware exists where
the registers are inaccurate or need overriding due to bugs.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20260129/515b625d/attachment.sig>
More information about the linux-arm-kernel
mailing list