9 Feb
2019
9 Feb
'19
10:34 a.m.
On Sat, 09 Feb 2019 00:26:53 +0100, Pierre-Louis Bossart wrote:
Loading/unloading modules exposes issues with memory allocation, which is a mix of devm_kzalloc and manual kzalloc. Move to devm_k routines everywhere to simplify all this.
Signed-off-by: Pierre-Louis Bossart pierre-louis.bossart@linux.intel.com
Looks good to me. Reviewed-by: Takashi Iwai tiwai@suse.de
hdev->dev is the codec device object, not the host, and the codec release callback doesn't conflict with any these objects, so it must be OK.
thanks,
Takashi