23 May
2022
23 May
'22
8:57 p.m.
On Mon, May 23, 2022 at 03:28:48PM +0200, Olivier MOYSAN wrote:
The current patch requires a change in the driver. Either changing STM_SAI_x_ID enums, or replacing data by a struct. For instance: struct stm32_sai_comp_data { unsigned int id; } struct stm32_sai_comp_data stm32_sai_comp_data_a = { .id = STM_SAI_A_ID; } struct of_device_id stm32_sai_sub_ids[] = { .data = &stm32_sai_comp_data_a}, }
Either approach works for me (or a revert for that matter).