1. 22 1月, 2020 1 次提交
  2. 11 12月, 2019 2 次提交
  3. 09 8月, 2019 1 次提交
    • S
      crypto: drivers - Remove dev_err() usage after platform_get_irq() · 514838e9
      Stephen Boyd 提交于
      We don't need dev_err() messages when platform_get_irq() fails now that
      platform_get_irq() prints an error message itself when something goes
      wrong. Let's remove these prints with a simple semantic patch.
      
      // <smpl>
      @@
      expression ret;
      struct platform_device *E;
      @@
      
      ret =
      (
      platform_get_irq(E, ...)
      |
      platform_get_irq_byname(E, ...)
      );
      
      if ( \( ret < 0 \| ret <= 0 \) )
      {
      (
      -if (ret != -EPROBE_DEFER)
      -{ ...
      -dev_err(...);
      -... }
      |
      ...
      -dev_err(...);
      )
      ...
      }
      // </smpl>
      
      While we're here, remove braces on if statements that only have one
      statement (manually).
      
      Cc: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
      Cc: Herbert Xu <herbert@gondor.apana.org.au>
      Cc: "David S. Miller" <davem@davemloft.net>
      Cc: <linux-crypto@vger.kernel.org>
      Signed-off-by: NStephen Boyd <swboyd@chromium.org>
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      514838e9
  4. 26 7月, 2019 2 次提交
  5. 27 6月, 2019 4 次提交
  6. 03 5月, 2019 2 次提交
  7. 25 4月, 2019 4 次提交
  8. 08 2月, 2019 1 次提交
    • G
      crypto: ccree - fix resume race condition on init · 1358c13a
      Gilad Ben-Yossef 提交于
      We were enabling autosuspend, which is using data set by the
      hash module, prior to the hash module being inited, casuing
      a crash on resume as part of the startup sequence if the race
      was lost.
      
      This was never a real problem because the PM infra was using low
      res timers so we were always winning the race, until commit 8234f673
      ("PM-runtime: Switch autosuspend over to using hrtimers") changed that :-)
      
      Fix this by seperating the PM setup and enablement and doing the
      latter only at the end of the init sequence.
      Signed-off-by: NGilad Ben-Yossef <gilad@benyossef.com>
      Cc: Vincent Guittot <vincent.guittot@linaro.org>
      Cc: stable@kernel.org # v4.20
      Signed-off-by: NHerbert Xu <herbert@gondor.apana.org.au>
      1358c13a
  9. 01 2月, 2019 1 次提交
  10. 25 1月, 2019 1 次提交
  11. 07 12月, 2018 1 次提交
  12. 09 11月, 2018 2 次提交
  13. 09 7月, 2018 1 次提交
  14. 31 5月, 2018 3 次提交
  15. 05 5月, 2018 1 次提交
  16. 03 3月, 2018 1 次提交
  17. 15 2月, 2018 5 次提交
  18. 15 1月, 2018 2 次提交
  19. 09 1月, 2018 3 次提交
  20. 08 1月, 2018 2 次提交