1. 06 Sep, 2011 8 commits
    • Ming Lei's avatar
      mfd: Fix omap-usb-host build failure · 417e206b
      Ming Lei authored
      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: default avatarMing Lei <ming.lei@canonical.com>
      Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
      417e206b
    • Anand Gadiyar's avatar
      mfd: Make omap-usb-host TLL mode work again · e600cffe
      Anand Gadiyar authored
      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: default avatarAnand Gadiyar <gadiyar@ti.com>
      Cc: Keshava Munegowda <keshava_mgowda@ti.com>
      Acked-by: default avatarFelipe Balbi <balbi@ti.com>
      Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
      e600cffe
    • MyungJoo Ham's avatar
      mfd: Set MAX8997 irq pointer · 7eb3154e
      MyungJoo Ham authored
      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: default avatarMyungJoo Ham <myungjoo.ham@samsung.com>
      Signed-off-by: default avatarKyungmin Park <kyungmin.park@samsung.com>
      Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
      7eb3154e
    • Johan Hovold's avatar
      mfd: Fix initialisation of tps65910 interrupts · fa948761
      Johan Hovold authored
      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: default avatarJohan Hovold <jhovold@gmail.com>
      Acked-by: default avatarGraeme Gregory <gg@slimlogic.co.uk>
      Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
      fa948761
    • Kyle Manna's avatar
      mfd: Check for twl4030-madc NULL pointer · d0e84cae
      Kyle Manna authored
      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: default avatarKyle Manna <kyle@kylemanna.com>
      Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
      d0e84cae
    • Kyle Manna's avatar
      mfd: Copy the device pointer to the twl4030-madc structure · 66cc5b8e
      Kyle Manna authored
      Worst case this fixes the following error:
      [   72.086212] (NULL device *): conversion timeout!
      
      Best case it prevents a crash
      Signed-off-by: default avatarKyle Manna <kyle@kylemanna.com>
      Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
      66cc5b8e
    • Sascha Hauer's avatar
      mfd: Rename wm8350 static gpio_set_debounce() · aa9d842c
      Sascha Hauer authored
      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: default avatarSascha Hauer <s.hauer@pengutronix.de>
      Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
      aa9d842c
    • Mark Brown's avatar
      mfd: Fix value of WM8994_CONFIGURE_GPIO · 8efcc57d
      Mark Brown authored
      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: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
      Cc: stable@kernel.org
      Signed-off-by: default avatarSamuel Ortiz <sameo@linux.intel.com>
      8efcc57d
  2. 29 Aug, 2011 1 commit
  3. 28 Aug, 2011 1 commit
  4. 27 Aug, 2011 2 commits
  5. 26 Aug, 2011 13 commits
  6. 25 Aug, 2011 15 commits