[lkml]   [2010]   [Nov]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
    SubjectRe: [PATCH] ASoC: Fix snd_soc_register_dais error handling
    On Wed, 2010-11-03 at 15:04 +0800, Axel Lin wrote:
    > kzalloc for dai may fail at any iteration of the for loop,
    > thus properly unregister already registered DAIs before return error.
    > The error handling code in snd_soc_register_dais() already ensure all the DAIs
    > are unregistered before return error, we can remove the error handling code
    > to unregister DAIs in snd_soc_register_codec().
    > Signed-off-by: Axel Lin <>
    > ---

    Acked-by: Liam Girdwood <>
    Freelance Developer, SlimLogic Ltd
    ASoC and Voltage Regulator Maintainer.

     \ /
      Last update: 2010-11-03 10:11    [W:0.023 / U:0.480 seconds]
    ©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site