Re: [alsa-devel] [PATCH 2/7] ASoC: allow wolfson wm9712 codec to be instantiated using device tree
 
            
            
            
            
                20 Dec
                
                    2012
                
            
            
                20 Dec
                
                '12
                
            
            
            
        
    
                10:32 a.m.
            
        On Thu, Dec 20, 2012 at 12:17:31AM +0100, Lucas Stach wrote:
static struct platform_driver wm9712_codec_driver = { .driver = { .name = "wm9712-codec", .owner = THIS_MODULE,
},
.of_match_table = wm9712_of_match,
No, this is really not a sane way of handling AC'97 at all. They're not platform devices, there is no sane reason why they should appear in the device tree as such. Really we ought to be just hotplugging them, AC'97 is perfectly enumerable.
        4698
        
      
          Age (days ago)
        
      
        4698
        
    
          Last active (days ago)
        
        
        
        0 comments
    
    
        
        1 participants
    
    
    
    
    
    
    
    
    participants (1)
- 
                 Mark Brown Mark Brown