diff options
author | Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp> | 2016-12-16 10:57:35 +0900 |
---|---|---|
committer | Tadao Tanikawa <tanikawa.tadao@jp.panasonic.com> | 2016-12-16 08:03:58 +0000 |
commit | cd8de601a7d8463c6f548488ea226ef8933fdb9a (patch) | |
tree | 27a03f9b6f7fd61cb4f6ee4e6c9ec46d828438f4 /meta-agl-bsp/meta-renesas/recipes-kernel/linux/linux/disable_delay_printk.patch | |
parent | dc0993c41790488c2bdffcc59e317fb37018dd2f (diff) |
Enable USB Audio in porter board
This patch is to avoid the problem that pulseaudio can not be used in the Porter board.
This patch does the following two correspondences.
1. Enable USB Audio config
2. Corresponding to problem of self-destruction by outputting a lot of printk
Change-Id: I58682c0755e04e87ec198dd0494d6f9380ebe4ce
Signed-off-by: Naoto Yamaguchi <i33399_YAMAGUCHI@aisin-aw.co.jp>
Diffstat (limited to 'meta-agl-bsp/meta-renesas/recipes-kernel/linux/linux/disable_delay_printk.patch')
-rwxr-xr-x | meta-agl-bsp/meta-renesas/recipes-kernel/linux/linux/disable_delay_printk.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/meta-agl-bsp/meta-renesas/recipes-kernel/linux/linux/disable_delay_printk.patch b/meta-agl-bsp/meta-renesas/recipes-kernel/linux/linux/disable_delay_printk.patch new file mode 100755 index 000000000..28acf1e08 --- /dev/null +++ b/meta-agl-bsp/meta-renesas/recipes-kernel/linux/linux/disable_delay_printk.patch @@ -0,0 +1,17 @@ +diff --git a/sound/usb/pcm.c b/sound/usb/pcm.c +old mode 100644 +new mode 100755 +index 93b6e32..2e9dd36 +--- a/sound/usb/pcm.c ++++ b/sound/usb/pcm.c +@@ -1420,8 +1420,8 @@ static void retire_playback_urb(struct snd_usb_substream *subs, + * on two reads of a counter updated every ms. + */ + if (abs(est_delay - subs->last_delay) * 1000 > runtime->rate * 2) +- snd_printk(KERN_DEBUG "delay: estimated %d, actual %d\n", +- est_delay, subs->last_delay); ++// snd_printk(KERN_DEBUG "delay: estimated %d, actual %d\n", ++// est_delay, subs->last_delay); + + if (!subs->running) { + /* update last_frame_number for delay counting here since |