Subject: [GIT PULL] ARM: OMAP: I2C: prepare to use hwmod reset in driver

From: [email-masked] (Shubhrajyoti)
Date: Mon, 19 Dec 2011 23:07:40 +0530

On Monday 19 December 2011 10:02 PM, Cousson, Benoit wrote:
> Hi Shubhro,
>
> On 12/18/2011 9:01 AM, Shubhrajyoti wrote:
>
> [...]
>
>> The driver does a reset in the error path.
>> Since we are not supposed to access the sysc reg the function is needed.
>
> I'm just wondering what will happen to the driver if this callback is
> not provided during the device creation? This is what will happen
> during DT boot for example?
>
> Is it a mandatory function?
This is used in the recovery mechanism in case of errors like some one
holding the bus and not releasing it etc.

> Thanks,
> Benoit