RE: [PATCH v2 1/5] i3c: master: detach and free device if pre_assign_dyn_addr() fails

2019-09-04 Thread Vitor Soares
From: Przemyslaw Gaj Date: Wed, Sep 04, 2019 at 05:47:18 > The 09/03/2019 11:57, Vitor Soares wrote: > > EXTERNAL MAIL > > > > > > From: Przemyslaw Gaj > > Date: Tue, Sep 03, 2019 at 12:13:57 > > > > > Hi Vitor, > > > > > > I'm sorry for the delay. > > > > > > The 09/03/2019 12:35, Vitor So

Re: [PATCH v2 1/5] i3c: master: detach and free device if pre_assign_dyn_addr() fails

2019-09-03 Thread Przemyslaw Gaj
The 09/03/2019 11:57, Vitor Soares wrote: > EXTERNAL MAIL > > > From: Przemyslaw Gaj > Date: Tue, Sep 03, 2019 at 12:13:57 > > > Hi Vitor, > > > > I'm sorry for the delay. > > > > The 09/03/2019 12:35, Vitor Soares wrote: > > > EXTERNAL MAIL > > > > > > > > > On pre_assing_dyn_addr() the de

RE: [PATCH v2 1/5] i3c: master: detach and free device if pre_assign_dyn_addr() fails

2019-09-03 Thread Vitor Soares
From: Przemyslaw Gaj Date: Tue, Sep 03, 2019 at 12:13:57 > Hi Vitor, > > I'm sorry for the delay. > > The 09/03/2019 12:35, Vitor Soares wrote: > > EXTERNAL MAIL > > > > > > On pre_assing_dyn_addr() the devices that fail: > > i3c_master_setdasa_locked() > > i3c_master_reattach_i3c_dev() >

Re: [PATCH v2 1/5] i3c: master: detach and free device if pre_assign_dyn_addr() fails

2019-09-03 Thread Przemyslaw Gaj
Hi Vitor, I'm sorry for the delay. The 09/03/2019 12:35, Vitor Soares wrote: > EXTERNAL MAIL > > > On pre_assing_dyn_addr() the devices that fail: > i3c_master_setdasa_locked() > i3c_master_reattach_i3c_dev() > i3c_master_retrieve_dev_info() > > are kept in memory and master->bus.devs li

RE: [PATCH v2 1/5] i3c: master: detach and free device if pre_assign_dyn_addr() fails

2019-09-03 Thread Vitor Soares
Hi Boris, From: Boris Brezillon Date: Tue, Sep 03, 2019 at 11:52:37 > On Tue, 3 Sep 2019 12:35:50 +0200 > Vitor Soares wrote: > > > On pre_assing_dyn_addr() the devices that fail: > > i3c_master_setdasa_locked() > > i3c_master_reattach_i3c_dev() > > i3c_master_retrieve_dev_info() > > >

Re: [PATCH v2 1/5] i3c: master: detach and free device if pre_assign_dyn_addr() fails

2019-09-03 Thread Boris Brezillon
On Tue, 3 Sep 2019 12:35:50 +0200 Vitor Soares wrote: > On pre_assing_dyn_addr() the devices that fail: > i3c_master_setdasa_locked() > i3c_master_reattach_i3c_dev() > i3c_master_retrieve_dev_info() > > are kept in memory and master->bus.devs list. This makes the i3c devices > without a d

[PATCH v2 1/5] i3c: master: detach and free device if pre_assign_dyn_addr() fails

2019-09-03 Thread Vitor Soares
On pre_assing_dyn_addr() the devices that fail: i3c_master_setdasa_locked() i3c_master_reattach_i3c_dev() i3c_master_retrieve_dev_info() are kept in memory and master->bus.devs list. This makes the i3c devices without a dynamic address are sent on DEFSLVS CCC command. Fix this by detaching a