Skip to content
Unverified Commit 87248dc7 authored by Michele Dionisio's avatar Michele Dionisio Committed by Mark Brown
Browse files

spi: davinci: Initialize dspi->done before any possible use of it



On SOC with multiple cpu (like omal l138) it is possible that spi
periferic is already initialized when this module is loaded and so
it is possible to recieve interrupt when the modules is not fully
initialized.

this patch initialize dspi->done before refister the interrupt
handler that use it

Signed-off-by: default avatarMichele Dionisio <michele.dionisio@gmail.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 4fbd8d19
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment