[PATCH v6 20/25] gpio/omap: skip operations in runtime callbacks

Kevin Hilman khilman at ti.com
Tue Sep 6 19:54:53 EDT 2011


Tarun Kanti DebBarma <tarun.kanti at ti.com> writes:

> Most operations within runtime callbacks should be skipped when
> *_runtime_get_sync() and *_runtime_put_sync() are called in probe(),
> *_gpio_request() and *_gpio_free(). 

Why?  

(again, I know the answer, but should be described in the changelog for
folks not familiar with this driver, or when we come back to this in 3
months and have forgotten why.

> We just need clock enable/disable.
>
> Signed-off-by: Tarun Kanti DebBarma <tarun.kanti at ti.com>
> Reviewed-by: Santosh Shilimkar <santosh.shilimkar at ti.com>

Kevin



More information about the linux-arm-kernel mailing list