Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | spi: slave: Fix missing break in switch | Gustavo A. R. Silva | 2018-10-03 | 1 | -0/+1 |
| | | | | | | | | | | | Apparently, this code does not actually fall through to the next case because the machine restarts before it has a chance. However, for the sake of maintenance and readability, we better add the missing break statement. Addresses-Coverity-ID: 1437892 ("Missing break in switch") Signed-off-by: Gustavo A. R. Silva <gustavo@embeddedor.com> Signed-off-by: Mark Brown <broonie@kernel.org> | ||||
* | spi: slave: Add SPI slave handler controlling system state | Geert Uytterhoeven | 2017-05-26 | 1 | -0/+154 |
Add an example SPI slave handler to allow remote control of system reboot, power off, halt, and suspend. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be> Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com> Signed-off-by: Mark Brown <broonie@kernel.org> |