On Tue, 19 Feb 2019 at 16:20, Sylwester Nawrocki <s.nawrocki@xxxxxxxxxxx> wrote: > > This fixes unregistration of the secondary platform device so all > resources are properly released. Additionally the removal sequence > is corrected so it is in reverse order comparing to probe sequence. > The test against NULL priv->pdev_sec is removed as it is not necessary. > > Signed-off-by: Sylwester Nawrocki <s.nawrocki@xxxxxxxxxxx> > --- > Changes since v1: > - corrected order of calls on error path in probe() and in remove(). > > sound/soc/samsung/i2s.c | 19 ++++++++++--------- > 1 file changed, 10 insertions(+), 9 deletions(-) Acked-by: Krzysztof Kozlowski <krzk@xxxxxxxxxx> Best regards, Krzysztof _______________________________________________ Alsa-devel mailing list Alsa-devel@xxxxxxxxxxxxxxxx http://mailman.alsa-project.org/mailman/listinfo/alsa-devel