diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2017-05-11 18:57:45 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-25 14:30:16 +0200 |
commit | cb89b1f9dff9a336b23b23a3bd7e59adcf77e86a (patch) | |
tree | ccb3b1a5f5f834cc03f5fb4071d2a210561e9d4d /include/linux/fpga/fpga-mgr.h | |
parent | 427907e599fa7f4e3313740a8f54be467261c167 (diff) |
staging: rtl8192e: rtl92e_get_eeprom_size Fix read size of EPROM_CMD.
commit 90be652c9f157d44b9c2803f902a8839796c090d upstream.
EPROM_CMD is 2 byte aligned on PCI map so calling with rtl92e_readl
will return invalid data so use rtl92e_readw.
The device is unable to select the right eeprom type.
Signed-off-by: Malcolm Priestley <tvboxspy@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'include/linux/fpga/fpga-mgr.h')
0 files changed, 0 insertions, 0 deletions