All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Luis Alves" <ljalvs@gmail.com>
To: "'Antti Palosaari'" <crope@iki.fi>, <linux-media@vger.kernel.org>
Cc: "'Mauro Carvalho Chehab'" <m.chehab@samsung.com>,
	"'Hans Verkuil'" <hverkuil@xs4all.nl>
Subject: RE: [PATCH 3/8] rtl2832: Fix deadlock on i2c mux select function.
Date: Sat, 8 Feb 2014 21:27:10 -0000	[thread overview]
Message-ID: <000301cf2514$87c87a30$97596e90$@gmail.com> (raw)
In-Reply-To: <1391852281-18291-4-git-send-email-crope@iki.fi>

From: Luis Alves <ljalvs@gmail.com>

Signed-off-by: Luis Alves <ljalvs@gmail.com>
Signed-off-by: Antti Palosaari <crope@iki.fi>
---
 drivers/media/dvb-frontends/rtl2832.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/media/dvb-frontends/rtl2832.c
b/drivers/media/dvb-frontends/rtl2832.c
index c0366a8..cfc5438 100644
--- a/drivers/media/dvb-frontends/rtl2832.c
+++ b/drivers/media/dvb-frontends/rtl2832.c
@@ -917,7 +917,7 @@ static int rtl2832_select(struct i2c_adapter *adap, void
*mux_priv, u32 chan_id)
 	buf[0] = 0x00;
 	buf[1] = 0x01;
 
-	ret = i2c_transfer(adap, msg, 1);
+	ret = __i2c_transfer(adap, msg, 1);
 	if (ret != 1)
 		goto err;
 
@@ -930,7 +930,7 @@ static int rtl2832_select(struct i2c_adapter *adap, void
*mux_priv, u32 chan_id)
 	else
 		buf[1] = 0x10; /* close */
 
-	ret = i2c_transfer(adap, msg, 1);
+	ret = __i2c_transfer(adap, msg, 1);
 	if (ret != 1)
 		goto err;
 
-- 
1.8.5.3



  parent reply	other threads:[~2014-02-08 21:27 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-02-08  9:37 [PATCH 0/8] regmap API & kernel I2C driver model Antti Palosaari
2014-02-08  9:37 ` [PATCH 1/8] rtl2832: provide muxed I2C adapter Antti Palosaari
2014-02-08  9:37 ` [PATCH 2/8] rtl2832: add muxed I2C adapter for demod itself Antti Palosaari
2014-02-08  9:37 ` [PATCH 3/8] rtl2832: Fix deadlock on i2c mux select function Antti Palosaari
2014-02-08  9:48   ` Antti Palosaari
2014-02-08 13:58     ` SOB Geert Stappers
2014-02-08 14:04       ` SOB Antti Palosaari
2014-02-08 21:27   ` Luis Alves [this message]
2014-02-08  9:37 ` [PATCH 4/8] rtl2832: implement delayed I2C gate close Antti Palosaari
2014-02-08  9:37 ` [PATCH 5/8] rtl28xxu: use muxed RTL2832 I2C adapters for E4000 and RTL2832_SDR Antti Palosaari
2014-02-08  9:37 ` [PATCH 6/8] e4000: get rid of DVB i2c_gate_ctrl() Antti Palosaari
2014-02-08  9:38 ` [PATCH 7/8] rtl2832_sdr: do not init tuner when only freq is changed Antti Palosaari
2014-02-08  9:38 ` [PATCH 8/8] e4000: convert to Regmap API Antti Palosaari

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='000301cf2514$87c87a30$97596e90$@gmail.com' \
    --to=ljalvs@gmail.com \
    --cc=crope@iki.fi \
    --cc=hverkuil@xs4all.nl \
    --cc=linux-media@vger.kernel.org \
    --cc=m.chehab@samsung.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.