novatek: Close bridge irq handler before commands
When bridge is handling interrupt requests while also trying to process the
bridge commands, it might failed to process the command.
Turn it off before processing to ensure all flashing are done smoothly.
BUG=b:225017400
TEST=Tested on Wormdingler
Change-Id: I2655a7392c7a7bed99ad0ffa55bcffddceb1cb0a
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/touch_updater/+/3524468
Reviewed-by: Harry Cutts <hcutts@chromium.org>
Reviewed-by: Kenneth Albanowski <kenalba@google.com>
Tested-by: Novatek MSP <novatekmsp@gmail.com>
Auto-Submit: Novatek MSP <novatekmsp@gmail.com>
Commit-Queue: Novatek MSP <novatekmsp@gmail.com>
2 files changed