From: Andreas Regel <andreas.regel@gmx.de>
To: Mauro Carvalho Chehab <mchehab@redhat.com>
Cc: abraham.manu@gmail.com, linux-media@vger.kernel.org
Subject: Re: [PATCH 1/3] stv090x: Fix typo in register macros
Date: Sun, 11 Mar 2012 18:59:25 +0100 [thread overview]
Message-ID: <4F5CE7FD.9050609@gmx.de> (raw)
In-Reply-To: <4F5CAD9A.5090000@redhat.com>
Hi Mauro,
it should be OK now.
---
drivers/media/dvb/frontends/stv090x.c | 2 +-
drivers/media/dvb/frontends/stv090x_reg.h | 4 ++--
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/media/dvb/frontends/stv090x.c b/drivers/media/dvb/frontends/stv090x.c
index 4aef187..6c3c095 100644
--- a/drivers/media/dvb/frontends/stv090x.c
+++ b/drivers/media/dvb/frontends/stv090x.c
@@ -3526,7 +3526,7 @@ static int stv090x_read_per(struct dvb_frontend *fe, u32 *per)
} else {
/* Counter 2 */
reg = STV090x_READ_DEMOD(state, ERRCNT22);
- h = STV090x_GETFIELD_Px(reg, ERR_CNT2_FIELD);
+ h = STV090x_GETFIELD_Px(reg, ERR_CNT22_FIELD);
reg = STV090x_READ_DEMOD(state, ERRCNT21);
m = STV090x_GETFIELD_Px(reg, ERR_CNT21_FIELD);
diff --git a/drivers/media/dvb/frontends/stv090x_reg.h b/drivers/media/dvb/frontends/stv090x_reg.h
index 93741ee..26c8885 100644
--- a/drivers/media/dvb/frontends/stv090x_reg.h
+++ b/drivers/media/dvb/frontends/stv090x_reg.h
@@ -2232,8 +2232,8 @@
#define STV090x_P2_ERRCNT22 STV090x_Px_ERRCNT22(2)
#define STV090x_OFFST_Px_ERRCNT2_OLDVALUE_FIELD 7
#define STV090x_WIDTH_Px_ERRCNT2_OLDVALUE_FIELD 1
-#define STV090x_OFFST_Px_ERR_CNT2_FIELD 0
-#define STV090x_WIDTH_Px_ERR_CNT2_FIELD 7
+#define STV090x_OFFST_Px_ERR_CNT22_FIELD 0
+#define STV090x_WIDTH_Px_ERR_CNT22_FIELD 7
#define STV090x_Px_ERRCNT21(__x) (0xF59E - (__x - 1) * 0x200)
#define STV090x_P1_ERRCNT21 STV090x_Px_ERRCNT21(1)
--
1.7.2.5
next prev parent reply other threads:[~2012-03-11 17:59 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-02-27 20:42 [PATCH 1/3] stv090x: Fix typo in register macros Andreas Regel
2012-03-11 13:50 ` Mauro Carvalho Chehab
2012-03-11 17:59 ` Andreas Regel [this message]
2012-05-15 12:43 ` Manu Abraham
2012-05-24 18:26 ` Andreas Regel
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=4F5CE7FD.9050609@gmx.de \
--to=andreas.regel@gmx.de \
--cc=abraham.manu@gmail.com \
--cc=linux-media@vger.kernel.org \
--cc=mchehab@redhat.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.