[PATCH] module-card/device-restore: Do not legacy load an empty entry

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, 2014-10-20 at 16:31 +0200, David Henningsson wrote:
> There is no use in trying to load data in legacy format, if we
> already know that there is no data at all.
> Also clarify in the debug message whether there is invalid data
> or no data at all.
> 
> Signed-off-by: David Henningsson <david.henningsson at canonical.com>
> ---
>  src/modules/module-card-restore.c   | 6 ++++--
>  src/modules/module-device-restore.c | 8 +++++---
>  2 files changed, 9 insertions(+), 5 deletions(-)

Looks good! Thanks for fixing this long-standing annoyance.

-- 
Tanu



[Index of Archives]     [Linux Audio Users]     [AMD Graphics]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux