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

2020-07-19 Thread Guenter Roeck
On Fri, Jul 17, 2020 at 11:51 AM Yu-Hsuan Hsu wrote: > > Guenter Roeck 於 2020年7月17日 週五 下午10:32寫道: > > > > On Thu, Jul 16, 2020 at 10:47 AM Enric Balletbo i Serra > > wrote: > > > > > > Hi, > > > > > > On 16/7/20 19:23, Guenter Roeck wrote: > > > > On Thu, Jul 16, 2020 at 10:09 AM Yu-Hsuan Hsu

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

2020-07-17 Thread Yu-Hsuan Hsu
Guenter Roeck 於 2020年7月17日 週五 下午10:32寫道: > > On Thu, Jul 16, 2020 at 10:47 AM Enric Balletbo i Serra > wrote: > > > > Hi, > > > > On 16/7/20 19:23, Guenter Roeck wrote: > > > On Thu, Jul 16, 2020 at 10:09 AM Yu-Hsuan Hsu > > > wrote: > > >> > > >> It is not guaranteed that I2S RX is disabled wh

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

2020-07-17 Thread Guenter Roeck
On Thu, Jul 16, 2020 at 10:47 AM Enric Balletbo i Serra wrote: > > Hi, > > On 16/7/20 19:23, Guenter Roeck wrote: > > On Thu, Jul 16, 2020 at 10:09 AM Yu-Hsuan Hsu wrote: > >> > >> It is not guaranteed that I2S RX is disabled when the kernel booting. > >> For example, if the kernel crashes while

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

2020-07-16 Thread Enric Balletbo i Serra
Hi, On 16/7/20 19:23, Guenter Roeck wrote: > On Thu, Jul 16, 2020 at 10:09 AM 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 I2

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

2020-07-16 Thread Guenter Roeck
On Thu, Jul 16, 2020 at 10:09 AM 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 when probing to > fix this issue. > > Signed-

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

2020-07-16 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 --- drivers/platform/chrome/cros_ec_proto.c