Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 3c606123 authored by Andrew Vasquez's avatar Andrew Vasquez Committed by James Bottomley
Browse files

[SCSI] qla2xxx: Correct sector-erase issues while writing flash.

parent 63bb1bf0
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -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));