summaryrefslogtreecommitdiff
path: root/chip/stm32/adc-stm32f3.c
diff options
context:
space:
mode:
authorVijay Hiremath <vijay.p.hiremath@intel.com>2015-07-15 18:02:33 -0700
committerChromeOS Commit Bot <chromeos-commit-bot@chromium.org>2015-07-16 05:15:22 +0000
commite7bebf7c805e160bfd633da5c8357527a4fee9f6 (patch)
tree284465532d7b304bb6b579ce588e61cfd4fe6e16 /chip/stm32/adc-stm32f3.c
parent7e29ee3b8e48a70724f2342d9271c1f4dbec8675 (diff)
downloadchrome-ec-e7bebf7c805e160bfd633da5c8357527a4fee9f6.tar.gz
ADC: Add common priority for the ADC init
Added common priority for the ADC init to ensure board level priority is defined for the ADC pre init. BUG=none TEST=make buildall -j BRANCH=none Change-Id: Id1649df6a68ab53bd110e58a0722bd4c70cbffc5 Signed-off-by: Vijay Hiremath <vijay.p.hiremath@intel.com> Reviewed-on: https://chromium-review.googlesource.com/286040 Reviewed-by: Shawn N <shawnn@chromium.org>
Diffstat (limited to 'chip/stm32/adc-stm32f3.c')
-rw-r--r--chip/stm32/adc-stm32f3.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/chip/stm32/adc-stm32f3.c b/chip/stm32/adc-stm32f3.c
index 072c71b9df..94212b2155 100644
--- a/chip/stm32/adc-stm32f3.c
+++ b/chip/stm32/adc-stm32f3.c
@@ -304,4 +304,4 @@ static void adc_init(void)
STM32_ADC_SMPR1 = SMPR1_EXPAND(CONFIG_ADC_SAMPLE_TIME);
STM32_ADC_SMPR2 = SMPR2_EXPAND(CONFIG_ADC_SAMPLE_TIME);
}
-DECLARE_HOOK(HOOK_INIT, adc_init, HOOK_PRIO_DEFAULT);
+DECLARE_HOOK(HOOK_INIT, adc_init, HOOK_PRIO_INIT_ADC);