Thanks, will make separate patch.
Hi Nisar
quoted
+ else if ((ee->magic == LAN78XX_EEPROM_MAGIC) &&
+ (ee->offset >= 0 && ee->offset < MAX_EEPROM_SIZE) &&
+ (ee->len > 0 && (ee->offset + ee->len) <=
MAX_EEPROM_SIZE))
quoted
+ ret = lan78xx_write_raw_eeprom(dev, ee->offset, ee->len,
data);
This change does not appear to have anything to do with auto suspend.
Please make it a separate patch.
Andrew