]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
arm: allwinner: Fix audio for Allwinner H3/H5
authormanu <manu@FreeBSD.org>
Wed, 17 Apr 2019 21:45:19 +0000 (21:45 +0000)
committermanu <manu@FreeBSD.org>
Wed, 17 Apr 2019 21:45:19 +0000 (21:45 +0000)
commitbf879e13c9924c3817968d5873e2bf62b9f8b751
tree7852094e0dd741353a3ed683c31500c55baeeb5e
parentc3ff66428259ef0892c6488b108f2b0104e02b44
arm: allwinner: Fix audio for Allwinner H3/H5

Due to three conditions the codec driver for Allwinner A10/A20 and H3/H5 did not work properly here:

    Wrong bit position for the analog audio reset
    Hardware Reset of codec was not de-asserted correctly
    Linux DTS file did not contain the address of the analog register the way as the driver was expecting it.

This patch proposes fixes for those three parts.

Submitted by: freebsdnewbie@freenet.de (Manuel Stühn)
MFC after: 1 month
Differential Revision: https://reviews.freebsd.org/D19910
sys/arm/allwinner/a10_codec.c