lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20130705195512.GJ27646@sirena.org.uk>
Date:	Fri, 5 Jul 2013 20:55:12 +0100
From:	Mark Brown <broonie@...nel.org>
To:	Bin Gao <bin.gao@...ux.intel.com>
Cc:	Wolfram Sang <wsa@...-dreams.de>, linux-i2c@...r.kernel.org,
	linux-kernel@...r.kernel.org,
	Laurent Pinchart <laurent.pinchart@...asonboard.com>
Subject: Re: i2c: introduce i2c helper i2c_find_client_by_name()

On Thu, Jun 06, 2013 at 11:33:46AM -0700, Bin Gao wrote:

> A good example is that an ISP(Imaging Signal Processor) driver needs
> register i2c camera sensor devices via v4l2, so it has to unregister
> all i2c clients that were previously registered by calling
> i2c_register_board_info(), and then re-register. For this case we
> can use this helper to get i2c_client by passing the client name.

Please look at the work that IIRC Laurent Pichart (CCed) was doing on
developing generic DT bindings for v4l in embedded systems, it sounds
like you're working on similar hardware here.  The general ideas should
apply to any enumeration mechanism, not just DT.

Download attachment "signature.asc" of type "application/pgp-signature" (837 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ