[#5401] ad1836: probe ad1836 failure - need "dma allocation failure" error message

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

[#5401] ad1836: probe ad1836 failure - need "dma allocation failure" error message

Submitted By: Yi Li

Open Date

2009-07-28 02:49:33     Close Date

2009-08-11 17:05:41

Priority:

Medium     Assignee:

Cliff Cai

Status:

Closed     Fixed In Release:

N/A

Found In Release:

snaps     Release:

svn trunk: r7084

Category:

N/A     Board:

STAMP

Processor:

BF537     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Assigned (Not Start)

Uboot version or rev.:

    Toolchain version or rev.:

2009r1-rc10

App binary format:

N/A     

Summary: ad1836: probe ad1836 failure - need "dma allocation failure" error message

Details:

 

Kernel cannot probe ad1836 sound card:

 

AD1836: probe of AD1836.0 failed with error -12

ALSA device list:

  No soundcards found.

 

 

Follow-ups

 

--- Yi Li                                                    2009-07-28 02:55:01

Vivi mentioned:

 

1MB uncached DMA is not enough.

 

# CONFIG_DMA_UNCACHED_4M is not set

# CONFIG_DMA_UNCACHED_2M is not set

CONFIG_DMA_UNCACHED_1M=y

 

Setting 2MB DMA the ad1836 can be probed. But there is no error message to

indicate this. It need to be documented or add "allocation failure"

error message.

 

Attached my kernel configuration.

 

--- Cliff Cai                                                2009-08-11 22:05:55

1MB uncached DMA is enough now.

 

--- Sonic Zhang                                              2009-08-11 22:40:50

Anyway, it is better to give error information no matter when the memory

allocation fails.

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

config.ad1836    application/octet-stream    34213    Yi Li

Attachments

Outcomes