From mboxrd@z Thu Jan 1 00:00:00 1970 From: Uwe =?iso-8859-1?Q?Kleine-K=F6nig?= Subject: Re: [PATCH 1/4] i2c: add FUNC flag for slave capabilities Date: Fri, 15 May 2015 13:37:44 +0200 Message-ID: <20150515113744.GS28888@pengutronix.de> References: <1431607205-2316-1-git-send-email-wsa@the-dreams.de> <1431607205-2316-2-git-send-email-wsa@the-dreams.de> Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: QUOTED-PRINTABLE Return-path: Content-Disposition: inline In-Reply-To: <1431607205-2316-2-git-send-email-wsa-z923LK4zBo2bacvFa/9K2g@public.gmane.org> Sender: linux-i2c-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Wolfram Sang Cc: linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-sh-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Magnus Damm , Simon Horman , Laurent Pinchart , Geert Uytterhoeven List-Id: linux-i2c@vger.kernel.org Hello Wolfram, On Thu, May 14, 2015 at 02:40:02PM +0200, Wolfram Sang wrote: > From: Wolfram Sang >=20 > So users can check in advance if there is slave support. I wonder if the core should check if .{,un}reg_slave is !=3D NULL and automatically set this bit accordingly. Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig = | Industrial Linux Solutions | http://www.pengutronix.de/= |