Some EE1004 implementations will not properly ack page selectionDoes Dreamcat4 deserve reported and tested by tags here? I guess anonymous address is fine with those tags?
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@xxxxxxx>
Tested-by: Jarkko Nikula <jarkko.nikula@xxxxxxxxxxxxxxx>
Cc: Arnd Bergmann <arnd@xxxxxxxx>
Cc: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
---
drivers/misc/eeprom/ee1004.c | 12 +++++++++++-
1 file changed, 11 insertions(+), 1 deletion(-)