mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-30 03:27:44 -04:00
[SCSI] qla2xxx: Correct sector-erase issues while writing flash.
Signed-off-by: Andrew Vasquez <[email protected]> Signed-off-by: James Bottomley <[email protected]>
This commit is contained in:
parent
63bb1bf040
commit
3c60612368
1 changed files with 0 additions and 1 deletions
|
|
@ -611,7 +611,6 @@ qla24xx_write_flash_data(scsi_qla_host_t *ha, uint32_t *dwptr, uint32_t faddr,
|
|||
flash_conf_to_access_addr(0x0339),
|
||||
(fdata & 0xff00) | ((fdata << 16) &
|
||||
0xff0000) | ((fdata >> 16) & 0xff));
|
||||
fdata = (faddr & sec_mask) << 2;
|
||||
ret = qla24xx_write_flash_dword(ha, conf_addr,
|
||||
(fdata & 0xff00) |((fdata << 16) &
|
||||
0xff0000) | ((fdata >> 16) & 0xff));
|
||||
|
|
|
|||
Loading…
Reference in a new issue