Re: [PATCH 2/2] ASoC: xilinx: xlnx_i2s: Discover parameters from registers
From: Mark Brown
Date: Thu Jan 29 2026 - 12:28:11 EST
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.
Attachment:
signature.asc
Description: PGP signature