I have an ADC ready shared-interrupt, sharing between gpio-keys and an adc driver.
Once the ADC ready interrupt occurs I would like to execute the gpio-keys ISR first, then the ADC driver ISR.
Currently, it happens vice versa. ie: ADC driver first and GPIO-Keys second. So, I'm facing some timing issues.
- How to resolve this issue?
- How to set interrupt priority manually?