Re: [Qemu-devel] [PATCH] esp: Do not overwrite ESP_TCHI after reset

2014-11-10 Thread Hannes Reinecke
On 11/10/2014 04:37 PM, Hannes Reinecke wrote: > After a reset ESP_TCHI should contain the unique ID > of the chip. This value will be overwritten with the > current tranfer count if the transfer count has > previously been set. > The code never checks if the transfer count has > been set, so the u

[Qemu-devel] [PATCH] esp: Do not overwrite ESP_TCHI after reset

2014-11-10 Thread Hannes Reinecke
After a reset ESP_TCHI should contain the unique ID of the chip. This value will be overwritten with the current tranfer count if the transfer count has previously been set. The code never checks if the transfer count has been set, so the unique ID will always be overwritten if the driver sends a D