other versions
- stretch 4.9.168-1
Z8530_SHUTDOWN(9) | Public Functions Provided | Z8530_SHUTDOWN(9) |
NAME¶
z8530_shutdown - Shutdown a Z8530 deviceSYNOPSIS¶
int z8530_shutdown(struct z8530_dev * dev);
ARGUMENTS¶
devThe Z8530 chip to shutdown
DESCRIPTION¶
We set the interrupt handlers to silence any interrupts. We then reset the chip and wait 100uS to be sure the reset completed. Just in case the caller then tries to do stuff.This is called without the lock held
AUTHOR¶
Alan Cox <alan@lxorguk.ukuu.org.uk>Author.
COPYRIGHT¶
April 2019 | Kernel Hackers Manual 4.9. |