commit | b4d99def09389ab696a5c85db58124fe0f16d590 | [log] [tgz] |
---|---|---|
author | hayeswang <hayeswang@realtek.com> | Mon Jan 19 17:02:46 2015 +0800 |
committer | David S. Miller <davem@davemloft.net> | Mon Jan 19 16:16:32 2015 -0500 |
tree | 6f2c6e93ea7863afa5ab4ea19d9ab74db1184816 | |
parent | 8cb3db24c80958647f8a1b65e4968f9f043ffc3d [diff] |
r8152: remove sram_read Read OCP register 0xa43a~0xa43b would clear some flags which the hw would use, and it may let the device lost. However, the unit of reading is 4 bytes. That is, it would read 0xa438~0xa43b when calling sram_read() to read OCP_SRAM_DATA. Signed-off-by: Hayes Wang <hayeswang@realtek.com> Signed-off-by: David S. Miller <davem@davemloft.net>