Re: [Qemu-devel] [PATCH v3] audio: es1370: add exit function

2016-12-16 Thread Marc-André Lureau
On Thu, Dec 15, 2016 at 5:32 AM Li Qiang wrote: > From: Li Qiang > > Currently the es1370 device emulation doesn't have a exit function, > hot unplug this device will leak some memory. Add a exit function to > avoid this. > > Signed-off-by: Li Qiang > > --- > > Changes since the v2: > take ou

[Qemu-devel] [PATCH v3] audio: es1370: add exit function

2016-12-14 Thread Li Qiang
From: Li Qiang Currently the es1370 device emulation doesn't have a exit function, hot unplug this device will leak some memory. Add a exit function to avoid this. Signed-off-by: Li Qiang --- Changes since the v2: take out of the null check Changes since the v1: close the streams hw/audio/e