]> git.dujemihanovic.xyz Git - linux.git/commit
gpio: altera-a10sr: Set proper output level for direction_output
authorAxel Lin <axel.lin@ingics.com>
Wed, 23 Jan 2019 00:00:57 +0000 (08:00 +0800)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 23 Jan 2019 16:24:02 +0000 (17:24 +0100)
commit2095a45e345e669ea77a9b34bdd7de5ceb422f93
treee9c6caffa5ee814eb7038e59572d6e88febaed41
parentf785ffb61605734b518afa766d1b5445e9f38c8d
gpio: altera-a10sr: Set proper output level for direction_output

The altr_a10sr_gpio_direction_output should set proper output level
based on the value argument.

Fixes: 26a48c4cc2f1 ("gpio: altera-a10sr: Add A10 System Resource Chip GPIO support.")
Cc: <stable@vger.kernel.org>
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Tested by: Thor Thayer <thor.thayer@linux.intel.com>
Reviewed by: Thor Thayer <thor.thayer@linux.intel.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
drivers/gpio/gpio-altera-a10sr.c