Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1390570

Re: [PATCH v7 22/24] [media] rtl2832: change the i2c gate to be mux-locked

From Wolfram Sang <wsa@the-dreams.de>
Newsgroups linux.kernel
Subject Re: [PATCH v7 22/24] [media] rtl2832: change the i2c gate to be mux-locked
Date 2016-04-28 23:50 +0200
Message-ID <rt1YT-2LF-23@gated-at.bofh.it> (permalink)
References <rq7o7-5F5-21@gated-at.bofh.it> <rt1YT-2LF-25@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Wed, Apr 20, 2016 at 05:18:02PM +0200, Peter Rosin wrote:
> The root i2c adapter lock is then no longer held by the i2c mux during
> accesses behind the i2c gate, and such accesses need to take that lock
> just like any other ordinary i2c accesses do.
> 
> So, declare the i2c gate mux-locked, and zap the regmap overrides
> that makes the i2c accesses unlocked and use plain old regmap
> accesses. This also removes the need for the regmap wrappers used by
> rtl2832_sdr, so deconvolute the code further and provide the regmap
> handle directly instead of the wrapper functions.
> 
> Signed-off-by: Peter Rosin <peda@axentia.se>

Antti, I'd need some tag from you since this is not the i2c realm.

Back to linux.kernel | Previous | NextNext in thread | Find similar | Unroll thread


Thread

Re: [PATCH v7 22/24] [media] rtl2832: change the i2c gate to be  mux-locked Wolfram Sang <wsa@the-dreams.de> - 2016-04-28 23:50 +0200
  Re: [PATCH v7 22/24] [media] rtl2832: change the i2c gate to be  mux-locked Wolfram Sang <wsa@the-dreams.de> - 2016-04-29 09:00 +0200

csiph-web