Re: [PATCH v1 0/2] i2c: Stop i2c modules being unloaded while in use.

2016-09-14 Thread Peter Rosin
Hi Jim! On 2016-09-13 18:55, Baxter, Jim wrote: > Hi Peter, > >> nitpick: Patch subjects for the second patch is wrong. >> >> "reparented" is a bit dual when dealing with i2c adapter trees. >> i2c_mux_add_owned_adapter is perhaps clearer? > > Agreed, I will update that. > >> >> >> Aside from th

Re: [PATCH v1 0/2] i2c: Stop i2c modules being unloaded while in use.

2016-09-13 Thread Baxter, Jim
Hi Peter, > nitpick: Patch subjects for the second patch is wrong. > > "reparented" is a bit dual when dealing with i2c adapter trees. > i2c_mux_add_owned_adapter is perhaps clearer? Agreed, I will update that. > > > Aside from that, I'm not using modules much and need some enlightenment > as to

Re: [PATCH v1 0/2] i2c: Stop i2c modules being unloaded while in use.

2016-09-10 Thread Peter Rosin
On 2016-09-07 22:05, jim_bax...@mentor.com wrote: > From: Jim Baxter > > This patchset adds a new i2c_mux_add_reparented_adapter API to the i2c > that allows owning modules to use module_get/module_put and stop the > i2c bus module being removed whilst in use. > > This was tested on an ARM i.MX6

[PATCH v1 0/2] i2c: Stop i2c modules being unloaded while in use.

2016-09-07 Thread jim_baxter
From: Jim Baxter This patchset adds a new i2c_mux_add_reparented_adapter API to the i2c that allows owning modules to use module_get/module_put and stop the i2c bus module being removed whilst in use. This was tested on an ARM i.MX6 Sabre board with the pca953x gpio module. Joshua Frkuska (2):