[#5041] ad73322 driver fails to compile with SND_DEBUG on

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

[#5041] ad73322 driver fails to compile with SND_DEBUG on

Submitted By: Peter Meerwald

Open Date

2009-04-03 10:34:22     Close Date

2009-04-08 20:49:14

Priority:

Low     Assignee:

Cliff Cai

Status:

Closed     Fixed In Release:

N/A

Found In Release:

snaps     Release:

SVN

Category:

Audio     Board:

STAMP

Processor:

ALL     Silicon Revision:

Is this bug repeatable?:

Yes     Resolution:

Fixed

Uboot version or rev.:

    Toolchain version or rev.:

SVN

App binary format:

N/A     

Summary: ad73322 driver fails to compile with SND_DEBUG on

Details:

 

ad73322 driver fails to compile with SND_DEBUG on, chip->runmode does not exist (anymore)

 

Index: linux-2.6.x/sound/blackfin/ad73322.c

===================================================================

--- linux-2.6.x/sound/blackfin/ad73322.c    (revision 6244)

+++ linux-2.6.x/sound/blackfin/ad73322.c    (working copy)

@@ -385,8 +385,7 @@

     }

     spin_unlock(&chip->ad73322_lock);

 

-    snd_printd(KERN_INFO"cmd:%s,runmode:0x%x\n", cmd?"start":"stop",

-                                chip->runmode);

+    snd_printd(KERN_INFO"cmd:%s\n", cmd?"start":"stop");

     return 0;

}

 

@@ -429,8 +428,7 @@

     }

     spin_unlock(&chip->ad73322_lock);

 

-    snd_printd(KERN_INFO"cmd:%s,runmode:0x%x\n", cmd?"start":"stop",

-                            chip->runmode);

+    snd_printd(KERN_INFO"cmd:%s\n", cmd?"start":"stop");

     return 0;

}

 

Follow-ups

 

--- Cliff Cai                                                2009-04-08 06:02:24

Applied,Thanks

 

Cliff

 

 

 

    Files

    Changes

    Commits

    Dependencies

    Duplicates

    Associations

    Tags

 

File Name     File Type     File Size     Posted By

No Files Were Found

Attachments

    Outcomes