diff for duplicates of <20190327181025.13507-150-sashal@kernel.org> diff --git a/a/1.txt b/N1/1.txt index d1b23ce..3b828af 100644 --- a/a/1.txt +++ b/N1/1.txt @@ -53,8 +53,8 @@ index 6bde543452f2..7ddc0930e98c 100644 */ /* if the enable GPIO is disabled, do not enable the backlight */ -- if (pb->enable_gpio && gpiod_get_value(pb->enable_gpio) = 0) -+ if (pb->enable_gpio && gpiod_get_value_cansleep(pb->enable_gpio) = 0) +- if (pb->enable_gpio && gpiod_get_value(pb->enable_gpio) == 0) ++ if (pb->enable_gpio && gpiod_get_value_cansleep(pb->enable_gpio) == 0) return FB_BLANK_POWERDOWN; /* The regulator is disabled, do not enable the backlight */ diff --git a/a/content_digest b/N1/content_digest index aa52f22..874f99b 100644 --- a/a/content_digest +++ b/N1/content_digest @@ -1,7 +1,7 @@ "ref\020190327181025.13507-1-sashal@kernel.org\0" "From\0Sasha Levin <sashal@kernel.org>\0" "Subject\0[PATCH AUTOSEL 4.19 150/192] backlight: pwm_bl: Use gpiod_get_value_cansleep() to get initial state\0" - "Date\0Wed, 27 Mar 2019 18:09:42 +0000\0" + "Date\0Wed, 27 Mar 2019 14:09:42 -0400\0" "To\0linux-kernel@vger.kernel.org" " stable@vger.kernel.org\0" "Cc\0Chen-Yu Tsai <wens@csie.org>" @@ -67,12 +67,12 @@ " \t */\n" " \n" " \t/* if the enable GPIO is disabled, do not enable the backlight */\n" - "-\tif (pb->enable_gpio && gpiod_get_value(pb->enable_gpio) = 0)\n" - "+\tif (pb->enable_gpio && gpiod_get_value_cansleep(pb->enable_gpio) = 0)\n" + "-\tif (pb->enable_gpio && gpiod_get_value(pb->enable_gpio) == 0)\n" + "+\tif (pb->enable_gpio && gpiod_get_value_cansleep(pb->enable_gpio) == 0)\n" " \t\treturn FB_BLANK_POWERDOWN;\n" " \n" " \t/* The regulator is disabled, do not enable the backlight */\n" "-- \n" 2.19.1 -82d3295493ac8e93dcbc552a7ce37de42ddf84955a69106827f5715f17806a2b +843ba6ab84d27537831fff59856eea45077599594f0074539451efe9bea7af51
This is an external index of several public inboxes, see mirroring instructions on how to clone and mirror all data and code used by this external index.