Skip to content
Snippets Groups Projects
  1. Jul 29, 2021
  2. Jun 01, 2021
  3. Oct 30, 2020
  4. May 12, 2020
  5. Mar 03, 2020
  6. Dec 17, 2019
  7. Oct 17, 2019
  8. Sep 23, 2019
    • Federico Vaga's avatar
      sw:drv: do not use devm_* · e52fec7c
      Federico Vaga authored
      
      It looks like there is a bug somewhere that make the system panic
      on resource releasing. I can't provide any evidence that devm_* is
      related to the issue, but removing it seems to solve the problem
      (or at least is not as frequent as before: I can load/unload 100 times
      without problems).
      
      The problem was mitigated also by introducing delays (mdelay/printk)
      in the fcl/gpio remove functions.
      
      My guess is that MFD removal and devres clean up conflicts at some
      point. MFD uses platform_unregister() which does resource_release(),
      and because of devres, only after that we will release all resources
      that we took on probe(). The flow does not sound right, we should
      release resources we took **before** platform releases/remove the
      resource from the system (not viceversa).
      
      Signed-off-by: default avatarFederico Vaga <federico.vaga@cern.ch>
      v1.4.1
      e52fec7c
  9. Jul 30, 2019
  10. Jul 16, 2019
  11. Jun 27, 2019
  12. Jun 21, 2019
  13. Jun 04, 2019