public inbox for linux-arm-kernel@lists.infradead.org 
 help / color / mirror / Atom feed
From: sshtylyov@mvista•com (Sergei Shtylyov)
To: linux-arm-kernel@lists•infradead.org
Subject: [PATCH 1/2] iommu/exynos: fix runtime pm support
Date: Wed, 11 Apr 2012 19:18:33 +0400	[thread overview]
Message-ID: <4F85A0C9.7050800@mvista.com> (raw)
In-Reply-To: <1334154871-4756-2-git-send-email-m.szyprowski@samsung.com>

Hello.

Marek Szyprowski wrote:

> Fix registration to runtime pw and add missing resume callback.

> Signed-off-by: Marek Szyprowski <m.szyprowski@samsung•com>
> Acked-by: Kyungmin Park <kyungmin.park@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

  reply	other threads:[~2012-04-11 15:18 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-11 14:34 [PATCH 0/2] Exynos: fix SYSMMU driver to work with power domains Marek Szyprowski
2012-04-11 14:34 ` [PATCH 1/2] iommu/exynos: fix runtime pm support Marek Szyprowski
2012-04-11 15:18   ` Sergei Shtylyov [this message]
2012-05-11 21:31   ` Kukjin Kim
2012-04-11 14:34 ` [PATCH 2/2] ARM: Exynos4: update SYSMMU setup code for gen_pd power domain driver Marek Szyprowski
2012-04-16 10:09   ` KyongHo Cho
2012-04-16 10:28     ` Marek Szyprowski
2012-04-12  8:19 ` [PATCH 0/2] Exynos: fix SYSMMU driver to work with power domains KyongHo Cho
2012-04-14 15:51   ` Kukjin Kim
2012-04-16  9:54     ` KyongHo Cho
2012-04-16 10:01       ` Kyungmin Park
2012-04-16 10:13         ` KyongHo Cho
2012-04-16 13:35 ` Subash Patel

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4F85A0C9.7050800@mvista.com \
    --to=sshtylyov@mvista$(echo .)com \
    --cc=linux-arm-kernel@lists$(echo .)infradead.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox