Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Merge tag 'omap-for-v5.1/fixes-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap into arm/late

Two regression fixes for omaps

Two one-liners to fix board-ams-delta booting regression and
logicpd-som-lv MMC card detect to use GPIO_ACTIVE_LOW instead of
IRQ_TYPE_LEVEL_LOW. Note that the board-ams-delta regression has
been in there already since v5.0, so if necessary these can wait
for the merge window.

* tag 'omap-for-v5.1/fixes-rc6' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap:
ARM: dts: logicpd-som-lv: Fix MMC1 card detect
ARM: OMAP1: ams-delta: fix early boot crash when LED support is disabled

Signed-off-by: Olof Johansson <olof@lixom.net>

+2 -2
+1 -1
arch/arm/boot/dts/logicpd-som-lv-baseboard.dtsi
··· 153 153 pinctrl-names = "default"; 154 154 pinctrl-0 = <&mmc1_pins>; 155 155 wp-gpios = <&gpio4 30 GPIO_ACTIVE_HIGH>; /* gpio_126 */ 156 - cd-gpios = <&gpio4 14 IRQ_TYPE_LEVEL_LOW>; /* gpio_110 */ 156 + cd-gpios = <&gpio4 14 GPIO_ACTIVE_LOW>; /* gpio_110 */ 157 157 vmmc-supply = <&vmmc1>; 158 158 bus-width = <4>; 159 159 cap-power-off-card;
+1 -1
arch/arm/mach-omap1/board-ams-delta.c
··· 749 749 ARRAY_SIZE(ams_delta_gpio_tables)); 750 750 751 751 leds_pdev = gpio_led_register_device(PLATFORM_DEVID_NONE, &leds_pdata); 752 - if (!IS_ERR(leds_pdev)) { 752 + if (!IS_ERR_OR_NULL(leds_pdev)) { 753 753 leds_gpio_table.dev_id = dev_name(&leds_pdev->dev); 754 754 gpiod_add_lookup_table(&leds_gpio_table); 755 755 }