[PATCH 1/2] iommu/exynos: fix runtime pm support
Sergei Shtylyov
sshtylyov at mvista.com
Wed Apr 11 11:18:33 EDT 2012
Hello.
Marek Szyprowski wrote:
> Fix registration to runtime pw and add missing resume callback.
> Signed-off-by: Marek Szyprowski <m.szyprowski at samsung.com>
> Acked-by: Kyungmin Park <kyungmin.park at samsung.com>
> ---
> drivers/iommu/exynos-iommu.c | 20 ++++++++++++++++++--
> 1 files changed, 18 insertions(+), 2 deletions(-)
> diff --git a/drivers/iommu/exynos-iommu.c b/drivers/iommu/exynos-iommu.c
> index b8daf7c..eef924d 100644
> --- a/drivers/iommu/exynos-iommu.c
> +++ b/drivers/iommu/exynos-iommu.c
[...]
> @@ -674,11 +673,28 @@ err_alloc:
> return ret;
> }
>
> +static int exynos_pm_resume(struct device *dev)
> +{
> + struct sysmmu_drvdata *data;
> +
> + data = dev_get_drvdata(dev);
Why not do it right in the initializer?
WBR, Sergei
More information about the linux-arm-kernel
mailing list