Re: [PATCH v5] ASoC: cros_ec_codec: Reset I2S RX when probing

2021-01-13 Thread Enric Balletbo i Serra
Hi Yu-Hsun, Thank you for your patch. Some comments below. On 13/1/21 9:17, Yu-Hsuan Hsu wrote: > It is not guaranteed that I2S RX is disabled when the kernel booting. > For example, if the kernel crashes while it is enabled, it will keep > enabled until the next time EC reboots. Reset I2S RX wh

[PATCH v5] ASoC: cros_ec_codec: Reset I2S RX when probing

2021-01-13 Thread Yu-Hsuan Hsu
It is not guaranteed that I2S RX is disabled when the kernel booting. For example, if the kernel crashes while it is enabled, it will keep enabled until the next time EC reboots. Reset I2S RX when probing to fix this issue. Signed-off-by: Yu-Hsuan Hsu --- This patch checks the return value. If it