Re: [PATCH v2] ASoC: tlv320aic3x: fix reset gpio reference counting

2019-03-04 Thread Peter Ujfalusi
On 27/02/2019 17.17, Philipp Puschmann wrote: > This patch fixes a bug that prevents freeing the reset gpio on unloading > the module. > > aic3x_i2c_probe is called when loading the module and it calls list_add > with a probably uninitialized list entry aic3x->list (next = prev = NULL)). > So e

[PATCH v2] ASoC: tlv320aic3x: fix reset gpio reference counting

2019-02-27 Thread Philipp Puschmann
This patch fixes a bug that prevents freeing the reset gpio on unloading the module. aic3x_i2c_probe is called when loading the module and it calls list_add with a probably uninitialized list entry aic3x->list (next = prev = NULL)). So even if list_del is called it does nothing and in the end the