diff options
author | Malcolm Priestley <tvboxspy@gmail.com> | 2017-05-11 17:57:45 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-05-25 13:44:45 (GMT) |
commit | 93a46fe4eb41e7fa575b9b995659af52c2241868 (patch) | |
tree | fc0f5c442c05662c555950f103ed1a645280fad7 /tools/laptop | |
parent | d0226f9adaf86597176dde4c794c935bb5d25656 (diff) | |
download | linux-93a46fe4eb41e7fa575b9b995659af52c2241868.tar.xz |
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 'tools/laptop')
0 files changed, 0 insertions, 0 deletions