[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200421121659.GE1241@ninjato>
Date: Tue, 21 Apr 2020 14:16:59 +0200
From: Wolfram Sang <wsa@...-dreams.de>
To: Bjorn Ardo <bjorn.ardo@...s.com>
Cc: Patrick Williams <patrick@...cx.xyz>,
Björn Ardö <bjornar@...s.com>,
linux-i2c@...r.kernel.org, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 1/2] i2c: slave-eeprom: initialize empty eeprom properly
> > Yes, it might be easiest if he merges your patch (with attribution) into
> > the else branch of his fw-load patch.
> >
>
> OK, so to summarize, I should update my patch to use
> device_property_read_string() instead and also init the memory to 0XFF if no
> file is present. And change name of the function to
Or something else went wrong.
> i2c_slave_init_eeprom_data.
Yes, that is my idea. You also need to replace checking for an of_node
with some equivalent for device properties maybe, but that should be
easy to find out.
> I will look into that and let you know once I'm done.
Thank you!
Download attachment "signature.asc" of type "application/pgp-signature" (834 bytes)
Powered by blists - more mailing lists