Patchwork [U-Boot,12/16,V2] Sound: Add FDT support to CMD.

login
register
mail settings
Submitter Rajeshwari Birje
Date Dec. 27, 2012, 6:03 a.m.
Message ID <1356588203-24838-13-git-send-email-rajeshwari.s@samsung.com>
Download mbox | patch
Permalink /patch/208267/
State Accepted
Delegated to: Minkyu Kang
Headers show

Comments

Rajeshwari Birje - Dec. 27, 2012, 6:03 a.m.
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>
---
Changes since V1:
	- None
 common/cmd_sound.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

Patch

diff --git a/common/cmd_sound.c b/common/cmd_sound.c
index 459d1eb..cfca9dd 100644
--- a/common/cmd_sound.c
+++ b/common/cmd_sound.c
@@ -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;