stm32: Don't perform any side effects in irq_update().
The purpose of irq_update() is to cache value of UART IRQ status register for devices which needs such caching. No other driver performs any other side effects in this call. For STM32, clearing TC (tx complete) bit was introduced in 8c079e91 which is otherwise titled as a conversion to STM32Cube HAL. Thus, there does not seem to be specific reasons why this code was added. On the other hand, it leads to behaviorial artifacts when dealing with interrup-driven UART code (specific issue seen was delaying of transmitting every other character). Change-Id: Id20bf214b36eeb6c09e29cc2e6bfca4f7221a1a4 Signed-off-by:Paul Sokolovsky <paul.sokolovsky@linaro.org>
Loading
Please sign in to comment