[#5741] adau1371 and adau1761 fail to build after 2.6.32 upgrade

Document created by Aaronwu Employee on Sep 5, 2013
Version 1Show Document
  • View in full screen mode

[#5741] adau1371 and adau1761 fail to build after 2.6.32 upgrade

Submitted By: Mike Frysinger

Open Date

2009-12-03 22:37:26     Close Date

2009-12-15 15:26:02

Priority:

Medium     Assignee:

Cliff Cai

Status:

Closed     Fixed In Release:

N/A

Found In Release:

2010R1     Release:

Category:

N/A     Board:

N/A

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

trunk 3760

App binary format:

N/A     

Summary: adau1371 and adau1761 fail to build after 2.6.32 upgrade

Details:

 

start with BF537-STAMP_defconfig, enable the adau1371 codec, and we get:

 

sound/soc/codecs/adau1371.c: In function ‘adau1371_read’:

sound/soc/codecs/adau1371.c:93: warning: passing argument 2 of ‘codec->hw_read’ makes integer from pointer without a cast

sound/soc/codecs/adau1371.c:93: error: too many arguments to function ‘codec->hw_read’

sound/soc/codecs/adau1371.c: In function ‘adau1371_i2c_probe’:

sound/soc/codecs/adau1371.c:1089: error: ‘hw_read_t’ undeclared (first use in this function)

sound/soc/codecs/adau1371.c:1089: error: (Each undeclared identifier is reported only once

sound/soc/codecs/adau1371.c:1089: error: for each function it appears in.)

sound/soc/codecs/adau1371.c:1089: error: expected ‘;’ before ‘i2c_master_recv’

make[3]: *** [sound/soc/codecs/adau1371.o] Error 1

 

Follow-ups

 

--- Cliff Cai                                                2009-12-07 22:08:02

snd_soc_codec's hw_read API has changed,so use the i2c read method directly.

 

--- Mike Frysinger                                           2009-12-15 15:26:02

things build now, thanks

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes