adc: adc_intel_quark_d2000: Pass 0 for IRQ Priority

The Interrupt Controller on the Quark D2000 doesn't support irq priority
to just pass 0 in the for the priority instead of CONFIG_ADC_0_IRQ_PRI.

Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
This commit is contained in:
Kumar Gala 2018-11-21 11:46:59 -06:00 committed by Anas Nashif
commit c167789d20

View file

@ -493,7 +493,7 @@ DEVICE_AND_API_INIT(adc_quark_d2000_0, CONFIG_ADC_0_NAME,
static void adc_quark_d2000_config_func_0(struct device *dev)
{
IRQ_CONNECT(DT_ADC_0_IRQ, CONFIG_ADC_0_IRQ_PRI,
IRQ_CONNECT(DT_ADC_0_IRQ, 0,
adc_quark_d2000_isr,
DEVICE_GET(adc_quark_d2000_0),
DT_ADC_0_IRQ_FLAGS);