[PATCH 141/429] spi: pxa2xx: Add missed security checks