diff options
author | Andrey Smirnov <andrew.smirnov@gmail.com> | 2019-03-26 09:32:08 +0300 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-04 10:21:20 +0300 |
commit | 0e48494c0edf1d7d90ff32c8a116664c3c0e1eb0 (patch) | |
tree | f860531287357af1ecb1794d86dbc3f68f9fbaa9 /include/media | |
parent | fb853a4a77483848e42fafb1270fd5cff0a97338 (diff) | |
download | linux-0e48494c0edf1d7d90ff32c8a116664c3c0e1eb0.tar.xz |
gpio: of: Check propname before applying "cs-gpios" quirks
[ Upstream commit e5545c94e43b8f6599ffc01df8d1aedf18ee912a ]
SPI GPIO device has more than just "cs-gpio" property in its node and
would request those GPIOs as a part of its initialization. To avoid
applying CS-specific quirk to all of them add a check to make sure
that propname is "cs-gpios".
Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Cc: Chris Healy <cphealy@gmail.com>
Cc: linux-gpio@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Sasha Levin (Microsoft) <sashal@kernel.org>
Diffstat (limited to 'include/media')
0 files changed, 0 insertions, 0 deletions