All of lore.kernel.org
 help / color / mirror / Atom feed
From: Richard Cochran <richardcochran@gmail.com>
To: <netdev@vger.kernel.org>
Cc: <linux-arm-kernel@lists.infradead.org>,
	<linux-omap@vger.kernel.org>, David Miller <davem@davemloft.net>,
	Cyril Chemparathy <cyril@ti.com>,
	Mugunthan V N <mugunthanvnm@ti.com>,
	Sergei Shtylyov <sshtylyov@mvista.com>
Subject: [PATCH v2 2/2] cpts: fix a run time warn_on.
Date: Mon, 24 Dec 2012 08:19:10 +0100	[thread overview]
Message-ID: <c325befd7dfbeb49f3343dfb989b823b8eee6f41.1356331925.git.richardcochran@gmail.com> (raw)
In-Reply-To: <cover.1356331925.git.richardcochran@gmail.com>
In-Reply-To: <cover.1356331925.git.richardcochran@gmail.com>

This patch fixes a warning in clk_enable by calling clk_prepare_enable
instead.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
---
 drivers/net/ethernet/ti/cpts.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/ethernet/ti/cpts.c b/drivers/net/ethernet/ti/cpts.c
index 5ab8fb4..463597f 100644
--- a/drivers/net/ethernet/ti/cpts.c
+++ b/drivers/net/ethernet/ti/cpts.c
@@ -247,7 +247,7 @@ static void cpts_clk_init(struct cpts *cpts)
 		cpts->refclk = NULL;
 		return;
 	}
-	clk_enable(cpts->refclk);
+	clk_prepare_enable(cpts->refclk);
 }
 
 static void cpts_clk_release(struct cpts *cpts)
-- 
1.7.2.5


WARNING: multiple messages have this Message-ID (diff)
From: Richard Cochran <richardcochran@gmail.com>
To: netdev@vger.kernel.org
Cc: linux-arm-kernel@lists.infradead.org, linux-omap@vger.kernel.org,
	David Miller <davem@davemloft.net>,
	Cyril Chemparathy <cyril@ti.com>,
	Mugunthan V N <mugunthanvnm@ti.com>,
	Sergei Shtylyov <sshtylyov@mvista.com>
Subject: [PATCH v2 2/2] cpts: fix a run time warn_on.
Date: Mon, 24 Dec 2012 08:19:10 +0100	[thread overview]
Message-ID: <c325befd7dfbeb49f3343dfb989b823b8eee6f41.1356331925.git.richardcochran@gmail.com> (raw)
In-Reply-To: <cover.1356331925.git.richardcochran@gmail.com>
In-Reply-To: <cover.1356331925.git.richardcochran@gmail.com>

This patch fixes a warning in clk_enable by calling clk_prepare_enable
instead.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
---
 drivers/net/ethernet/ti/cpts.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/ethernet/ti/cpts.c b/drivers/net/ethernet/ti/cpts.c
index 5ab8fb4..463597f 100644
--- a/drivers/net/ethernet/ti/cpts.c
+++ b/drivers/net/ethernet/ti/cpts.c
@@ -247,7 +247,7 @@ static void cpts_clk_init(struct cpts *cpts)
 		cpts->refclk = NULL;
 		return;
 	}
-	clk_enable(cpts->refclk);
+	clk_prepare_enable(cpts->refclk);
 }
 
 static void cpts_clk_release(struct cpts *cpts)
-- 
1.7.2.5


WARNING: multiple messages have this Message-ID (diff)
From: richardcochran@gmail.com (Richard Cochran)
To: linux-arm-kernel@lists.infradead.org
Subject: [PATCH v2 2/2] cpts: fix a run time warn_on.
Date: Mon, 24 Dec 2012 08:19:10 +0100	[thread overview]
Message-ID: <c325befd7dfbeb49f3343dfb989b823b8eee6f41.1356331925.git.richardcochran@gmail.com> (raw)
In-Reply-To: <cover.1356331925.git.richardcochran@gmail.com>

This patch fixes a warning in clk_enable by calling clk_prepare_enable
instead.

Signed-off-by: Richard Cochran <richardcochran@gmail.com>
---
 drivers/net/ethernet/ti/cpts.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/drivers/net/ethernet/ti/cpts.c b/drivers/net/ethernet/ti/cpts.c
index 5ab8fb4..463597f 100644
--- a/drivers/net/ethernet/ti/cpts.c
+++ b/drivers/net/ethernet/ti/cpts.c
@@ -247,7 +247,7 @@ static void cpts_clk_init(struct cpts *cpts)
 		cpts->refclk = NULL;
 		return;
 	}
-	clk_enable(cpts->refclk);
+	clk_prepare_enable(cpts->refclk);
 }
 
 static void cpts_clk_release(struct cpts *cpts)
-- 
1.7.2.5

  parent reply	other threads:[~2012-12-24  7:19 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-12-24  7:19 [PATCH v2 0/2] cpts fixes for v3.8-rc2 Richard Cochran
2012-12-24  7:19 ` Richard Cochran
2012-12-24  7:19 ` Richard Cochran
2012-12-24  7:19 ` [PATCH v2 1/2] cpts: fix build error by removing useless code Richard Cochran
2012-12-24  7:19   ` Richard Cochran
2012-12-24  7:19   ` Richard Cochran
2012-12-24  7:19 ` Richard Cochran [this message]
2012-12-24  7:19   ` [PATCH v2 2/2] cpts: fix a run time warn_on Richard Cochran
2012-12-24  7:19   ` Richard Cochran
2012-12-26  4:12 ` [PATCH v2 0/2] cpts fixes for v3.8-rc2 Mugunthan V N
2012-12-26  4:12   ` Mugunthan V N
2012-12-26  4:12   ` Mugunthan V N
2012-12-26 22:15 ` David Miller
2012-12-26 22:15   ` David Miller

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=c325befd7dfbeb49f3343dfb989b823b8eee6f41.1356331925.git.richardcochran@gmail.com \
    --to=richardcochran@gmail.com \
    --cc=cyril@ti.com \
    --cc=davem@davemloft.net \
    --cc=linux-arm-kernel@lists.infradead.org \
    --cc=linux-omap@vger.kernel.org \
    --cc=mugunthanvnm@ti.com \
    --cc=netdev@vger.kernel.org \
    --cc=sshtylyov@mvista.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.