clk: fsl-sai: fix memory leak
stable inclusion from stable-5.10.4 commit 45d670efcb0b3efbf5a356353b9cada31473acf8 bugzilla: 46903 -------------------------------- [ Upstream commit e81bed41 ] If the device is removed we don't unregister the composite clock. Fix that. Fixes: 9cd10205 ("clk: fsl-sai: new driver") Signed-off-by: NMichael Walle <michael@walle.cc> Link: https://lore.kernel.org/r/20201105192746.19564-2-michael@walle.ccSigned-off-by: NStephen Boyd <sboyd@kernel.org> Signed-off-by: NSasha Levin <sashal@kernel.org> Signed-off-by: NChen Jun <chenjun102@huawei.com> Acked-by: NXie XiuQi <xiexiuqi@huawei.com>
Showing
想要评论请 注册 或 登录