diff options
author | Chris Packham <chris.packham@alliedtelesis.co.nz> | 2019-03-29 15:13:21 +1300 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2019-05-06 21:46:45 +0200 |
commit | 64d14c6fe040361ff6aecb825e392cf97837cd9e (patch) | |
tree | 134505dd87f03cba84338bef0bc3b329ef64a46c /.clang-format | |
parent | fb899d3b2a622874cbb5daf9eb8c0fba19844648 (diff) | |
download | linux-64d14c6fe040361ff6aecb825e392cf97837cd9e.tar.bz2 |
mtd: maps: physmap: Store gpio_values correctly
When the gpio-addr-flash.c driver was merged with physmap-core.c the
code to store the current gpio_values was lost. This meant that once a
gpio was asserted it was never de-asserted. Fix this by storing the
current offset in gpio_values like the old driver used to.
Fixes: commit ba32ce95cbd9 ("mtd: maps: Merge gpio-addr-flash.c into physmap-core.c")
Cc: <stable@vger.kernel.org>
Signed-off-by: Chris Packham <chris.packham@alliedtelesis.co.nz>
Reviewed-by: Boris Brezillon <boris.brezillon@collabora.com>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to '.clang-format')
0 files changed, 0 insertions, 0 deletions