1. 07 Aug, 2014 38 commits
  2. 31 Jul, 2014 2 commits
    • Greg Kroah-Hartman's avatar
      Linux 3.14.15 · 735fbc72
      Greg Kroah-Hartman authored
      735fbc72
    • Guenter Roeck's avatar
      platform_get_irq: Revert to platform_get_resource if of_irq_get fails · 25a59eef
      Guenter Roeck authored
      commit aff008ad upstream.
      
      Commits 9ec36caf (of/irq: do irq resolution in platform_get_irq)
      and ad69674e (of/irq: do irq resolution in platform_get_irq_byname)
      change the semantics of platform_get_irq and platform_get_irq_byname
      to always rely on devicetree information if devicetree is enabled
      and if a devicetree node is attached to the device. The functions
      now return an error if the devicetree data does not include interrupt
      information, even if the information is available as platform resource
      data.
      
      This causes mfd client drivers to fail if the interrupt number is
      passed via platform resources. Therefore, if of_irq_get fails, try
      platform_get_resource as method of last resort. This restores the
      original functionality for drivers depending on platform resources
      to get irq information.
      
      Cc: Russell King <linux@arm.linux.org.uk>
      Cc: Tony Lindgren <tony@atomide.com>
      Cc: Grant Likely <grant.likely@linaro.org>
      Cc: Grygorii Strashko <grygorii.strashko@ti.com>
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
      Acked-by: default avatarRob Herring <robh@kernel.org>
      [ Guenter Roeck: backported to 3.15 ]
      Signed-off-by: default avatarGuenter Roeck <linux@roeck-us.net>
      25a59eef