On Fri, Jun 19, 2015 at 05:50:50PM -0700, Juston Li wrote:
>  void sii164ClearInterrupt(void)
>  {
> -    unsigned char detectReg;
> +     unsigned char detectReg;
>  
> -    /* Clear the MDI interrupt */
> -    detectReg = i2cReadReg(SII164_I2C_ADDRESS, SII164_DETECT);
> -    i2cWriteReg(SII164_I2C_ADDRESS, SII164_DETECT, detectReg | 
> SII164_DETECT_MONITOR_STATE_CLEAR);

The patch accidentally deletes this write.

> +     /* Clear the MDI interrupt */
> +     detectReg = i2cReadReg(SII164_I2C_ADDRESS, SII164_DETECT);
>  }

regards,
dan carpenter
_______________________________________________
devel mailing list
de...@linuxdriverproject.org
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel

Reply via email to