ads7846: make the suspend function sleep instead of busy poll
ads7846_suspend was busily polling for a couple of variables,
which never get a chance to change state unless kernel pre-emption
is enabled. Use msleep instead.
Signed-off-by: Juha Yrjölä <juha.yrjola@nokia.com>
Showing
Please register or sign in to comment