1. 06 9月, 2011 8 次提交
    • M
      mfd: Fix omap-usb-host build failure · 417e206b
      Ming Lei 提交于
      The patch fixes the build failure:
      
      drivers/mfd/omap-usb-host.c:1034:1: warning: data definition has no type
      or storage class
      drivers/mfd/omap-usb-host.c:1034:1: warning: type defaults to 'int' in
      declaration of 'EXPORT_SYMBOL_GPL'
      drivers/mfd/omap-usb-host.c:1034:1: warning: parameter names (without
      types) in function declaration
      drivers/mfd/omap-usb-host.c:1040:1: warning: data definition has no type
      or storage class
      drivers/mfd/omap-usb-host.c:1040:1: warning: type defaults to 'int' in
      declaration of 'EXPORT_SYMBOL_GPL'
      drivers/mfd/omap-usb-host.c:1040:1: warning: parameter names (without
      types) in function declaration
      drivers/mfd/omap-usb-host.c:1045:13: error: 'THIS_MODULE' undeclared
      here (not in a function)
      drivers/mfd/omap-usb-host.c:1050:15: error: expected declaration
      specifiers or '...' before string constant
      drivers/mfd/omap-usb-host.c:1050:1: warning: data definition has no type
      or storage class
      drivers/mfd/omap-usb-host.c:1050:1: warning: type defaults to 'int' in
      declaration of 'MODULE_AUTHOR'
      drivers/mfd/omap-usb-host.c:1050:15: warning: function declaration isn't
      a prototype
      drivers/mfd/omap-usb-host.c:1051:14: error: expected declaration
      specifiers or '...' before string constant
      drivers/mfd/omap-usb-host.c:1051:1: warning: data definition has no type
      or storage class
      drivers/mfd/omap-usb-host.c:1051:1: warning: type defaults to 'int' in
      declaration of 'MODULE_ALIAS'
      drivers/mfd/omap-usb-host.c:1051:14: warning: function declaration isn't
      a prototype
      drivers/mfd/omap-usb-host.c:1052:16: error: expected declaration
      specifiers or '...' before string constant
      drivers/mfd/omap-usb-host.c:1052:1: warning: data definition has no type
      or storage class
      drivers/mfd/omap-usb-host.c:1052:1: warning: type defaults to 'int' in
      declaration of 'MODULE_LICENSE'
      drivers/mfd/omap-usb-host.c:1052:16: warning: function declaration isn't
      a prototype
      drivers/mfd/omap-usb-host.c:1053:20: error: expected declaration
      specifiers or '...' before string constant
      drivers/mfd/omap-usb-host.c:1053:1: warning: data definition has no type
      or storage class
      drivers/mfd/omap-usb-host.c:1053:1: warning: type defaults to 'int' in
      declaration of 'MODULE_DESCRIPTION'
      drivers/mfd/omap-usb-host.c:1053:20: warning: function declaration isn't
      a prototype
      make[2]: *** [drivers/mfd/omap-usb-host.o] Error 1
        CC      fs/proc/namespaces.o
      make[1]: *** [drivers/mfd] Error 2
      make: *** [drivers] Error 2
      make: *** Waiting for unfinished jobs....
      Signed-off-by: NMing Lei <ming.lei@canonical.com>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      417e206b
    • A
      mfd: Make omap-usb-host TLL mode work again · e600cffe
      Anand Gadiyar 提交于
      This code section seems to have been accidentally copy pasted.
      It causes incorrect bits to be set up in the TLL_CHANNEL_CONF
      register and prevents the TLL mode from working correctly.
      
      Cc: stable@kernel.org
      Signed-off-by: NAnand Gadiyar <gadiyar@ti.com>
      Cc: Keshava Munegowda <keshava_mgowda@ti.com>
      Acked-by: NFelipe Balbi <balbi@ti.com>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      e600cffe
    • M
      mfd: Set MAX8997 irq pointer · 7eb3154e
      MyungJoo Ham 提交于
      Required platform information is not handed to max8997-irq.c properly.
      This patch enables to hand over such information to max8997-irq.c so
      that max8997-irq functions properly.
      Signed-off-by: NMyungJoo Ham <myungjoo.ham@samsung.com>
      Signed-off-by: NKyungmin Park <kyungmin.park@samsung.com>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      7eb3154e
    • J
      mfd: Fix initialisation of tps65910 interrupts · fa948761
      Johan Hovold 提交于
      Fix regression introduced by commit
      a2974732 (TPS65911: Add new irq
      definitions) which caused irq_num to be incorrectly set for tps65910.
      
      Cc: stable@kernel.org
      Signed-off-by: NJohan Hovold <jhovold@gmail.com>
      Acked-by: NGraeme Gregory <gg@slimlogic.co.uk>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      fa948761
    • K
      mfd: Check for twl4030-madc NULL pointer · d0e84cae
      Kyle Manna 提交于
      If the twl4030-madc device wasn't registered, and another device, such
      as twl4030-madc-hwmon, calls twl4030_madc_conversion() a NULL pointer is
      dereferenced.
      Signed-off-by: NKyle Manna <kyle@kylemanna.com>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      d0e84cae
    • K
      mfd: Copy the device pointer to the twl4030-madc structure · 66cc5b8e
      Kyle Manna 提交于
      Worst case this fixes the following error:
      [   72.086212] (NULL device *): conversion timeout!
      
      Best case it prevents a crash
      Signed-off-by: NKyle Manna <kyle@kylemanna.com>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      66cc5b8e
    • S
      mfd: Rename wm8350 static gpio_set_debounce() · aa9d842c
      Sascha Hauer 提交于
      The kernel already has a function with this name declared
      in asm-generic/gpio.h. So if this header leaks into wm8350/gpio.c
      we get
      
      drivers/mfd/wm8350-gpio.c:40:12: error: conflicting types for 'gpio_set_debounce'
      include/asm-generic/gpio.h:156:12: note: previous declaration of 'gpio_set_debounce' was here
      
      Fix this by adding a wm8350_ prefix to the function.
      Signed-off-by: NSascha Hauer <s.hauer@pengutronix.de>
      Acked-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      aa9d842c
    • M
      mfd: Fix value of WM8994_CONFIGURE_GPIO · 8efcc57d
      Mark Brown 提交于
      This needs to be an out of band value for the register and on this device
      registers are 16 bit so we must shift left one to the 17th bit.
      Signed-off-by: NMark Brown <broonie@opensource.wolfsonmicro.com>
      Cc: stable@kernel.org
      Signed-off-by: NSamuel Ortiz <sameo@linux.intel.com>
      8efcc57d
  2. 29 8月, 2011 2 次提交
  3. 28 8月, 2011 1 次提交
  4. 27 8月, 2011 10 次提交
  5. 26 8月, 2011 19 次提交