Please take care of that SS pin should be configured GPIO output(arch/arm/mach-mx6/board-mx6q_sabresd.h). And should tell the GPIO number to SPI driver in board file , such as below code in arch/arm/mach-mx6/board-mx6q_sabresd.c
static int mx6q_sabresd_spi_cs[] = {
SABRESD_ECSPI1_CS0,
};
static const struct spi_imx_master mx6q_sabresd_spi_data __initconst = {
.chipselect = mx6q_sabresd_spi_cs,
.num_chipselect = ARRAY_SIZE(mx6q_sabresd_spi_cs),
};