summaryrefslogtreecommitdiffstats
path: root/drivers/counter
diff options
context:
space:
mode:
authorJean Delvare2019-05-06 15:16:56 +0200
committerGreg Kroah-Hartman2019-05-24 20:42:50 +0200
commit31641e34e8a3da5735d3cc901fb986bf6df28b6f (patch)
tree4318a4207e2407a7223936d054ed6ac61f2ed91a /drivers/counter
parenteeprom: ee1004: Move selected page detection to a separate function (diff)
downloadkernel-qcow2-linux-31641e34e8a3da5735d3cc901fb986bf6df28b6f.tar.gz
kernel-qcow2-linux-31641e34e8a3da5735d3cc901fb986bf6df28b6f.tar.xz
kernel-qcow2-linux-31641e34e8a3da5735d3cc901fb986bf6df28b6f.zip
eeprom: ee1004: Deal with nack on page selection
Some EE1004 implementations will not properly ack page selection commands. They still set the page correctly, so there is no actual error. Deal with this case gracefully by checking the currently selected page after we receive a nack. If the page is set right then we can continue. Signed-off-by: Jean Delvare <jdelvare@suse.de> Tested-by: Jarkko Nikula <jarkko.nikula@linux.intel.com> Cc: Arnd Bergmann <arnd@arndb.de> Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/counter')
0 files changed, 0 insertions, 0 deletions