Subject: Re: [PATCH net 3/4] lan78xx: Fix for eeprom read/write when device autosuspend

From: Andrew Lunn <[email-masked]>
Date: Wed, 6 Sep 2017 16:06:05 +0200

Hi Nisar

> +	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))
> +		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