]> git.dujemihanovic.xyz Git - u-boot.git/commitdiff
Sound: Add FDT support to CMD.
authorRajeshwari Shinde <rajeshwari.s@samsung.com>
Wed, 26 Dec 2012 20:03:19 +0000 (20:03 +0000)
committerMinkyu Kang <mk7.kang@samsung.com>
Tue, 8 Jan 2013 01:54:33 +0000 (10:54 +0900)
This patch adds FDT support to sound init in CMD.

Signed-off-by: Rajeshwari Shinde <rajeshwari.s@samsung.com>
Acked-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Minkyu Kang <mk7.kang@samsung.com>
common/cmd_sound.c

index 459d1ebaf2cc00ea61974c0d7675115199b5eb2b..cfca9dd136b37072c82fc21ed27524eeb5ed9b19 100644 (file)
@@ -33,7 +33,7 @@ static int do_init(cmd_tbl_t *cmdtp, int flag, int argc, char *const argv[])
 {
        int ret;
 
-       ret = sound_init();
+       ret = sound_init(gd->fdt_blob);
        if (ret) {
                printf("Initialise Audio driver failed\n");
                return CMD_RET_FAILURE;