Re: [PATCH v2] mfd: htc-i2cpld: Add the missed i2c_put_adapter() in htcpld_register_chip_i2c()

2020-11-11 Thread Lee Jones
On Fri, 06 Nov 2020, Jing Xiangfeng wrote: > htcpld_register_chip_i2c() misses to call i2c_put_adapter() in an error > path. Add the missed function call to fix it. > > Fixes: 6048a3dd2371 ("mfd: Add HTCPLD driver") > Signed-off-by: Jing Xiangfeng > --- > v2: > - add the tag Fixes > > --- > dr

[PATCH v2] mfd: htc-i2cpld: Add the missed i2c_put_adapter() in htcpld_register_chip_i2c()

2020-11-05 Thread Jing Xiangfeng
htcpld_register_chip_i2c() misses to call i2c_put_adapter() in an error path. Add the missed function call to fix it. Fixes: 6048a3dd2371 ("mfd: Add HTCPLD driver") Signed-off-by: Jing Xiangfeng --- v2: - add the tag Fixes --- drivers/mfd/htc-i2cpld.c | 2 ++ 1 file changed, 2 insertions(+) di