This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

OMAP-L138 arago linux SPI driver INTLVL possible bug.

I happened to notice the following lines in the SPI driver "drivers/spi/davinci_spi.c":

#define SPIINT_MASKINT        0x0000015F
#define SPI_INTLVL_1        0x000001FF
#define SPI_INTLVL_0        0x00000000

The INTLVL 1 define is not properly setting bit 9, 0 is a reserved value. I'm guessing this may not matter with that MASKINT setting, but it looks like it could possibly be dangerous.

This was with version 3.21.00.04, but I see the same in later tags (Linux version 3.3)