mirror of
https://github.com/torvalds/linux.git
synced 2024-12-24 20:01:55 +00:00
e1000e: call er16flash() instead of __er16flash()
__er16flash() is not meant to be called directly. Signed-off-by: Bruce Allan <bruce.w.allan@intel.com> Tested-by: Aaron Brown <aaron.f.brown@intel.com> Signed-off-by: Jeff Kirsher <jeffrey.t.kirsher@intel.com>
This commit is contained in:
parent
058e8edd11
commit
c8243ee048
@ -2279,7 +2279,7 @@ static s32 e1000_flash_cycle_init_ich8lan(struct e1000_hw *hw)
|
||||
* cycle has a chance to end before giving up.
|
||||
*/
|
||||
for (i = 0; i < ICH_FLASH_READ_COMMAND_TIMEOUT; i++) {
|
||||
hsfsts.regval = __er16flash(hw, ICH_FLASH_HSFSTS);
|
||||
hsfsts.regval = er16flash(ICH_FLASH_HSFSTS);
|
||||
if (hsfsts.hsf_status.flcinprog == 0) {
|
||||
ret_val = 0;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user