1. 13 6月, 2013 3 次提交
  2. 28 5月, 2013 1 次提交
  3. 26 5月, 2013 5 次提交
  4. 15 5月, 2013 2 次提交
  5. 13 5月, 2013 2 次提交
  6. 24 4月, 2013 1 次提交
    • A
      ASoC: ux500: forward declare msp_i2s_platform_data · d74bf3fa
      Arnd Bergmann 提交于
      We get a lot of build warnings from the msp driver like:
      
      In file included from sound/soc/ux500/ux500_msp_dai.h:21:0,
                       from sound/soc/ux500/mop500.c:25:
      sound/soc/ux500/ux500_msp_i2s.h:546:11: warning: 'struct msp_i2s_platform_data' declared inside parameter list [enabled by default]
          struct msp_i2s_platform_data *platform_data);
                 ^
      sound/soc/ux500/ux500_msp_i2s.h:546:11: warning: its scope is only this definition or declaration, which is probably not what you want [enabled by default]
      
      The easiest solution is to add a declaration of the struct name.
      Signed-off-by: NArnd Bergmann <arnd@arndb.de>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      d74bf3fa
  7. 18 4月, 2013 1 次提交
  8. 17 4月, 2013 1 次提交
  9. 08 4月, 2013 4 次提交
  10. 27 3月, 2013 2 次提交
  11. 26 3月, 2013 3 次提交
  12. 31 1月, 2013 1 次提交
  13. 09 12月, 2012 1 次提交
  14. 23 11月, 2012 1 次提交
  15. 05 11月, 2012 1 次提交
  16. 22 10月, 2012 2 次提交
  17. 16 10月, 2012 2 次提交
  18. 20 9月, 2012 4 次提交
  19. 21 8月, 2012 1 次提交
    • J
      ASoC: ux500_msp_i2s: better use devm functions and fix error return code · b18e93a4
      Julia Lawall 提交于
      Remove unnecessary calls to devm_kfree and replace iounmap by devm_iounmap
      (and use resource_size for the third argument).  These changes make it
      possible to remove the error-handling code at the end of
      ux500_msp_i2s_init_msp, and all of the gotos become direct returns.
      
      In the case of the second call to devm_kzalloc, the return variable ret was
      not initialized.  Here it is changed to a direct return of -ENOMEM.
      
      A simplified version of the semantic match that finds the second problem is as
      follows: (http://coccinelle.lip6.fr/)
      
      // <smpl>
      (
      if@p1 (\(ret < 0\|ret != 0\))
       { ... return ret; }
      |
      ret@p1 = 0
      )
      ... when != ret = e1
          when != &ret
      *if(...)
      {
        ... when != ret = e2
            when forall
       return ret;
      }
      
      // </smpl>
      Signed-off-by: NJulia Lawall <Julia.Lawall@lip6.fr>
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      b18e93a4
  20. 04 8月, 2012 1 次提交
  21. 26 7月, 2012 1 次提交