Re: [PATCH] i2c-i801: utilize hardware semaphore

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Aaron Sierra <asierra@...> writes:

> 
> The i2c-i801 driver (along with 12 others) was modified to include a check
> for ACPI resource conflicts by the following commit prior to 2.6.27
> release:
> 
>     commit 54fb4a05af0a4b814e6716cfdf3fa97fc6be7a32
>     i2c: Check for ACPI resource conflicts
> 

Thanks for posting this Aaron.

> +	if (status & SMBHSTSTS_INUSE_STS) {
> +		dev_err(&priv->pci_dev->dev, "SMBus is in use, can't use it!\n");
> +		return -EBUSY;
> +	}
> +
> +        return 0;
> +}

Noticed there are spaces rather than tabs indenting the return 0 above. Looks 
good otherwise.

Eudean

--
To unsubscribe from this list: send the line "unsubscribe linux-i2c" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html


[Index of Archives]     [Linux GPIO]     [Linux SPI]     [Linux Hardward Monitoring]     [LM Sensors]     [Linux USB Devel]     [Linux Media]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux