From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751917AbbJDTue (ORCPT ); Sun, 4 Oct 2015 15:50:34 -0400 Received: from mail.lysator.liu.se ([130.236.254.3]:38114 "EHLO mail.lysator.liu.se" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751820AbbJDTud (ORCPT ); Sun, 4 Oct 2015 15:50:33 -0400 Subject: Re: Regression: at24 eeprom writing To: Linux Kernel Mailing List References: <560F0DB1.2020101@lysator.liu.se> Cc: Wolfram Sang , Christian Gmainer , linux-arm-kernel@lists.infradead.org, Ludovic Desroches From: Peter Rosin Message-ID: <56118304.8020002@lysator.liu.se> Date: Sun, 4 Oct 2015 21:50:28 +0200 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.2.0 MIME-Version: 1.0 In-Reply-To: <560F0DB1.2020101@lysator.liu.se> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2015-10-03 01:05, Peter Rosin wrote: > I looked around and found that if I revert a839ce663b3183209fdf7b1fc4796bfe2a4679c3 > "eeprom: at24: extend driver to allow writing via i2c_smbus_write_byte_data" > eeprom writing starts working again. > > AFAICT, the i2c-at91 bus driver makes the eeprom driver use the > i2c_transfer code path both with that patch and with it reverted, > so I sadly don't see why the patch makes a difference. And now when I retry the same thing, that patch is no longer affecting things. I must have confused myself over what kernel was actually running. Christian, please accept my deepest apologies for implicating you in this regression. But the regression is still there. In short, linux-3.18-at91 from the linux4sam tree works, linux-4.1-at91 from the same tree does not, and vanilla 4.2 also doesn't work. I have a hard time bisecting this thing though, since the last known good version has a long list of atmel patches that I refuse to even try to rebase... Ideas still welcome of course. Cheers, Peter