diff options
author | Jean Delvare <jdelvare@suse.de> | 2019-05-06 15:16:56 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2019-05-24 20:42:50 +0200 |
commit | 31641e34e8a3da5735d3cc901fb986bf6df28b6f (patch) | |
tree | 4318a4207e2407a7223936d054ed6ac61f2ed91a /drivers/counter | |
parent | eeprom: ee1004: Move selected page detection to a separate function (diff) | |
download | linux-31641e34e8a3da5735d3cc901fb986bf6df28b6f.tar.xz 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