From mboxrd@z Thu Jan 1 00:00:00 1970 From: Wolfram Sang Subject: Re: [PATCH v5 2/8] eeprom: at24: use i2c_smbus_read_i2c_block_data_or_emulated Date: Fri, 14 Aug 2015 20:24:14 +0200 Message-ID: <20150814182404.GC1822@katana> References: <1439389900-10108-1-git-send-email-irina.tirdea@intel.com> <1439389900-10108-3-git-send-email-irina.tirdea@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Content-Disposition: inline In-Reply-To: <1439389900-10108-3-git-send-email-irina.tirdea-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> Sender: linux-iio-owner-u79uwXL29TY76Z2rM5mHXA@public.gmane.org To: Irina Tirdea Cc: Jonathan Cameron , linux-iio-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-i2c-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, linux-kernel-u79uwXL29TY76Z2rM5mHXA@public.gmane.org, Srinivas Pandruvada , Peter Meerwald List-Id: linux-i2c@vger.kernel.org On Wed, Aug 12, 2015 at 05:31:34PM +0300, Irina Tirdea wrote: > For i2c busses that support only SMBUS extensions, the eeprom at24 > driver reads data from the device using the SMBus block, word or byte > read protocols depending on availability. > > Replace the block read emulation from the driver with the > i2c_smbus_read_i2c_block_data_or_emulated call from i2c core. > > Signed-off-by: Irina Tirdea Applied to for-next, thanks!