commit | 1c769c342b345299c60e4406663700db6b87c4e2 | [log] [tgz] |
---|---|---|
author | Ren Chen <Ren.Chen@ite.com.tw> | Wed Aug 28 14:16:49 2024 +0800 |
committer | Fabio Baltieri <fabio.baltieri@gmail.com> | Tue Sep 03 14:40:31 2024 +0100 |
tree | 0061c898003f6450796aef5be29d0998a8c92765 | |
parent | d410231c7ca4ff6e6fe07c5f502c97e90b421a01 [diff] |
usb: it82xx2: fix issue with the unexpected setting of the ready bit In the IT82xx2 chip, the ready bit is automatically cleared by hardware. When setting other bits, there is a chance that the ready bit hasn't been cleared yet, leading to unexpected USB transactions. This change ensures that the ready bit is always set to '0' when setting the endpoint control value. Signed-off-by: Ren Chen <Ren.Chen@ite.com.tw>