Source-Changes-HG archive

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

[src/trunk]: src/sys/arch/arm/nvidia fix a few typos in the audio infoframe w...



details:   https://anonhg.NetBSD.org/src/rev/a4d08a4cbbb1
branches:  trunk
changeset: 809659:a4d08a4cbbb1
user:      jmcneill <jmcneill%NetBSD.org@localhost>
date:      Sun Jul 26 15:12:03 2015 +0000

description:
fix a few typos in the audio infoframe we build

diffstat:

 sys/arch/arm/nvidia/tegra_hdmi.c |  11 ++++++-----
 1 files changed, 6 insertions(+), 5 deletions(-)

diffs (36 lines):

diff -r 0d443f63a6b6 -r a4d08a4cbbb1 sys/arch/arm/nvidia/tegra_hdmi.c
--- a/sys/arch/arm/nvidia/tegra_hdmi.c  Sun Jul 26 14:24:29 2015 +0000
+++ b/sys/arch/arm/nvidia/tegra_hdmi.c  Sun Jul 26 15:12:03 2015 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: tegra_hdmi.c,v 1.7 2015/07/25 15:55:31 jmcneill Exp $ */
+/* $NetBSD: tegra_hdmi.c,v 1.8 2015/07/26 15:12:03 jmcneill Exp $ */
 
 /*-
  * Copyright (c) 2015 Jared D. McNeill <jmcneill%invisible.ca@localhost>
@@ -29,7 +29,7 @@
 #include "locators.h"
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: tegra_hdmi.c,v 1.7 2015/07/25 15:55:31 jmcneill Exp $");
+__KERNEL_RCSID(0, "$NetBSD: tegra_hdmi.c,v 1.8 2015/07/26 15:12:03 jmcneill Exp $");
 
 #include <sys/param.h>
 #include <sys/bus.h>
@@ -501,13 +501,14 @@
 tegra_hdmi_setup_audio_infoframe(struct tegra_hdmi_softc *sc)
 {
        uint8_t data[10] = {
-               0x84, 0x01, 0x10,
+               0x84, 0x01, 0x0a,
                0x00,   /* PB0 (checksum) */
                0x01,   /* CT=0, CC=2ch */
-               0xc0,   /* SS=0, SF=48kHz */
+               0x00,   /* SS=0, SF=0 */
+               0x00,
                0x00,   /* CA=FR/FL */
                0x00,   /* LSV=0dB, DM_INH=permitted */
-               0x00, 0x00
+               0x00
        };
 
        data[3] = tegra_hdmi_infoframe_csum(data, sizeof(data));



Home | Main Index | Thread Index | Old Index