Re: [PATCH] stk1160: Give the chip some time to retrieve data from AC97 codec.

2016-11-26 Thread Marcel Hasler
2016-11-20 18:37 GMT+01:00 Ezequiel Garcia : > On 28 October 2016 at 05:52, Marcel Hasler wrote: >> The STK1160 needs some time to transfer data from the AC97 registers into >> its own. On some >> systems reading the chip's own registers to soon

Re: [PATCH] stk1160: Give the chip some time to retrieve data from AC97 codec.

2016-11-26 Thread Marcel Hasler
2016-11-20 18:37 GMT+01:00 Ezequiel Garcia : > On 28 October 2016 at 05:52, Marcel Hasler wrote: >> The STK1160 needs some time to transfer data from the AC97 registers into >> its own. On some >> systems reading the chip's own registers to soon

Re: [PATCH] stk1160: Give the chip some time to retrieve data from AC97 codec.

2016-11-20 Thread Ezequiel Garcia
On 28 October 2016 at 05:52, Marcel Hasler wrote: > The STK1160 needs some time to transfer data from the AC97 registers into its > own. On some > systems reading the chip's own registers to soon will return wrong values. > The "proper" way to > handle this would be to poll

Fwd: [PATCH] stk1160: Give the chip some time to retrieve data from AC97 codec.

2016-10-28 Thread Marcel Hasler
This patch might need some explaining. I actually noticed this problem early on while trying to fix the sound problem, but it was only this morning that I realized the (trivial) cause of it. I first noticed something strange going on when I read the AC97 registers from

[PATCH] stk1160: Give the chip some time to retrieve data from AC97 codec.

2016-10-28 Thread Marcel Hasler
The STK1160 needs some time to transfer data from the AC97 registers into its own. On some systems reading the chip's own registers to soon will return wrong values. The "proper" way to handle this would be to poll STK1160_AC97CTL_0 after every read or write command until the command bit has