commit | 8dd4a9665280eafc042d6420f6a21bf0d20c19d9 | [log] [tgz] |
---|---|---|
author | Devendra Naga <devendra.aaru@gmail.com> | Tue Mar 12 01:34:45 2013 -0400 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Mar 12 09:09:08 2013 -0700 |
tree | b35d321a7a59d73b89872f731d3da43235b92e03 | |
parent | f165d815d50f158be43aa12c5c800fd27bbecad3 [diff] |
staging: et131x: fix invalid fail after the call to eeprom_wait_ready should be err < 0 instead of if (err) which actually the read register value can be a positive number Acked-by: Mark Einon <mark.einon@gmail.com> Signed-off-by: Devendra Naga <devendra.aaru@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>