We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 16fbce1 commit ba27be5Copy full SHA for ba27be5
sound/soc/bcm/bcm2708-i2s.c
@@ -352,7 +352,7 @@ static void bcm2708_i2s_setup_gpio(void)
352
/* SPI is on different GPIOs on different boards */
353
/* for Raspberry Pi B+, this is pin GPIO18-21, for original on 28-31 */
354
if (bcm2708_i2s_gpio==BCM2708_I2S_GPIO_AUTO) {
355
- if (system_rev >= 0x10) {
+ if ((system_rev & 0xffffff) >= 0x10) {
356
/* Model B+ */
357
pinconfig=BCM2708_I2S_GPIO_PIN18;
358
} else {
0 commit comments