1. 13 2月, 2012 6 次提交
  2. 30 1月, 2012 6 次提交
  3. 28 1月, 2012 3 次提交
  4. 27 1月, 2012 24 次提交
  5. 26 1月, 2012 1 次提交
    • T
      pinctrl: add checks for empty function names · b9130b77
      Tony Lindgren 提交于
      This is needed as otherwise we can get the following when
      dealing with buggy data in a pinmux driver for
      pinmux_search_function:
      
      Unable to handle kernel NULL pointer dereference at virtual
      address 00000000
      ...
      PC is at strcmp+0xc/0x34
      LR is at pinmux_get+0x350/0x8f4
      ...
      
      As we need pctldev initialized to call ops->list_functions,
      let's initialize it before check_ops calls and pass the
      pctldev to the check_ops functions. Do this for both pinmux
      and pinconf check_ops functions.
      Signed-off-by: NTony Lindgren <tony@atomide.com>
      Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>
      b9130b77