Here's an updated patch with the changes requested by Andrew.
Major points of the update include:
- Moved PCF2123 section in Kconfig to be inside the
"if SPI_MASTER" blob, to take care of dependencies.
- Changed udelay() to macro w/ comment, and shifted to
using ndelay() instead due to 30 nsec requirement,
not 30 usec as was originally coded.
- Bypass delay if spi_*() commands fail.
Cc: Alessandro Zummo <a.zummo@towertech.it>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Showing
Please register or sign in to comment