22 Dec, 2011

13 commits


19 Dec, 2011

2 commits


12 Dec, 2011

1 commit


06 Dec, 2011

2 commits


02 Dec, 2011

3 commits


01 Dec, 2011

2 commits


29 Nov, 2011

8 commits


28 Nov, 2011

5 commits


24 Nov, 2011

2 commits


23 Nov, 2011

2 commits

  • There are cases where there is no working codec on the soc-audio devices,
    and snd_soc_suspend() will skip such device when suspending. Yet its
    counterpart snd_soc_resume() does not check this, causing complaints
    about spinlock lockup:

    [ 176.726087] BUG: spinlock lockup on CPU#0, kworker/0:2/1067, d8ab82a8
    [ 176.732539] [] (unwind_backtrace+0x0/0xec) from [] (dump_stack+0x20/0x24)
    [ 176.741082] [] (dump_stack+0x20/0x24) from [] (do_raw_spin_lock+0x118/0x158)
    [ 176.749882] [] (do_raw_spin_lock+0x118/0x158) from [] (_raw_spin_lock_irqsave+0x5c/0x68)
    [ 176.759723] [] (_raw_spin_lock_irqsave+0x5c/0x68) from [] (__wake_up+0x2c/0x5c)
    [ 176.768781] [] (__wake_up+0x2c/0x5c) from [] (soc_resume_deferred+0x3c/0x2b0)
    [ 176.777666] [] (soc_resume_deferred+0x3c/0x2b0) from [] (process_one_work+0x2e8/0x50c)
    [ 176.787334] [] (process_one_work+0x2e8/0x50c) from [] (worker_thread+0x1c8/0x2e0)
    [ 176.796566] [] (worker_thread+0x1c8/0x2e0) from [] (kthread+0xa4/0xb0)
    [ 176.804843] [] (kthread+0xa4/0xb0) from [] (kernel_thread_exit+0x0/0x8)

    Signed-off-by: Eric Miao
    Signed-off-by: Mark Brown

    Eric Miao
     
  • Just checking the code in cs42l51_fill_cache():
    The cache pointer points to codec->reg_cache + 1.
    I think it is because CS42L51_FIRSTREG is 0x01,
    so codec->reg_cache[0] is not used here.

    Then we read CS42L51_NUMREGS bytes to cache.
    So we need reg_cache_size to be CS42L51_NUMREGS + 1.

    Signed-off-by: Axel Lin
    Signed-off-by: Mark Brown

    Axel Lin