1. 08 Jun, 2011 1 commit
    • Greg Kroah-Hartman's avatar
      Staging: cx23885: fix include of altera.h · e2d4dc5a
      Greg Kroah-Hartman authored
      The cx23885 driver was including staging/altera.h, but that file has
      moved back into the driver directory.
      
      Why a non-staging driver was including a staging driver is beyond me,
      but this fixes the build so everything is happy for now.
      
      For the record, it's not ok for a non-staging driver to depend on a
      staging one, as that implies that the non-staging one should also be in
      the staging tree if that's needed.
      
      Cc: Igor M. Liplianin <liplianin@netup.ru>
      Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      e2d4dc5a
  2. 07 Jun, 2011 12 commits
    • Andre Bartke's avatar
      staging: iio: error case memory leak fix · 53aebb53
      Andre Bartke authored
      The data pointer should be freed in the error
      cases of adis16400_trigger_handler().
      Signed-off-by: default avatarAndre Bartke <andre.bartke@gmail.com>
      Acked-by: default avatarJonathan Cameron <jic23@cam.ac.uk>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      53aebb53
    • Vasanthakumar Thiagarajan's avatar
      staging: ath6kl: Fix a kernel panic during suspend/resume · 0d422f42
      Vasanthakumar Thiagarajan authored
      The kernel panic happens when we try to complete a pending
      scan request while going to suspend state. The cause for this
      kernel panic is accessing a freed memory (ar->arWmin). This
      is freed before ar6k_cfg80211_scanComplete_event() getting
      called where it is dereferenced.
      
      RIP: 0010:[<ffffffffa042e726>]  [<ffffffffa042e726>] wlan_iterate_nodes+0x16/0xc0 [ath6kl]
      RSP: 0018:ffff8800719fbce8  EFLAGS: 00010296
      RAX: ffff880071bbcc00 RBX: ffff880037b22520 RCX: ffff880077413c80
      RDX: ffff880037b221c0 RSI: ffffffffa041ef10 RDI: 0000000000000020
      RBP: ffff8800719fbd18 R08: 0000000000000001 R09: 0000000000000001
      R10: 0000000000000400 R11: 0000000000000000 R12: 0000000000000010
      R13: ffff8800719fbdd8 R14: 00007fff83a84b60 R15: 0000000000000001
      FS:  00007fdccb8a7700(0000) GS:ffff880077400000(0000) knlGS:0000000000000000
      CS:  0010 DS: 0000 ES: 0000 CR0: 000000008005003b
      CR2: 0000000000000148 CR3: 0000000070604000 CR4: 00000000000006f0
      DR0: 0000000000000000 DR1: 0000000000000000 DR2: 0000000000000000
      	DR3: 0000000000000000 DR6: 00000000ffff0ff0 DR7: 0000000000000400
      Process rmmod (pid: 1998, threadinfo ffff8800719fa000, task ffff880066712d80)
      	Stack:
      	0000000000000000 ffff880037b22520 0000000000000010 ffff8800719fbdd8
      	00007fff83a84b60 0000000000000001 ffff8800719fbd28 ffffffffa0429fe2
      	ffff8800719fbd58 ffffffffa041ee5f ffff8800719fbd58 ffff880037b22520
      	Call Trace:
      	[<ffffffffa0429fe2>] wmi_iterate_nodes+0x12/0x20 [ath6kl]
      	[<ffffffffa041ee5f>] ar6k_cfg80211_scanComplete_event+0x3f/0xf0 [ath6kl]
      	[<ffffffffa04245f1>] ar6000_close+0x61/0x100 [ath6kl]
      	[<ffffffff814d6736>] __dev_close_many+0x96/0x100
      	[<ffffffff814d688d>] dev_close_many+0x9d/0x120
      	[<ffffffff814d6a48>] rollback_registered_many+0xe8/0x290
      	[<ffffffff814d6d16>] unregister_netdevice_queue+0x96/0x100
      	[<ffffffff814d6ea0>] unregister_netdev+0x20/0x30
      	[<ffffffffa0420259>] ar6000_destroy+0x119/0x180 [ath6kl]
      	[<ffffffffa043182a>] ar6k_cleanup_module+0x2a/0x33 [ath6kl]
      	[<ffffffff81098fde>] sys_delete_module+0x19e/0x270
      	[<ffffffff815d7542>] system_call_fastpath+0x16/0x1b
      	Code: c3 0f 1f 40 00 48 89 df e8 68 ff ff ff eb df 66 0f 1f 44 00 00 55 48 89 e5 41 57 41 56 41 55 41 54 53 48 83 ec 08 0f 1f 44 00 00
      	8b af 28 01 00 00 4c 8d 7f 08 49 89 fc 48 89 f3 49 89 d6 41
      	RIP  [<ffffffffa042e726>] wlan_iterate_nodes+0x16/0xc0 [ath6kl]
      	RSP <ffff8800719fbce8>
      Signed-off-by: default avatarVasanthakumar Thiagarajan <vasanth@atheros.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      0d422f42
    • Michael Chang's avatar
      staging: gma500: get control from firmware framebuffer if conflicts · aaa5c677
      Michael Chang authored
      Many Linux distributions would enable vesafb in order to display
      early stage boot splash. In this case, we will get garbled X
      Window screen if running X fbdev on psbfb.
      
      This is because fb0 is occupied by vesafb while psbfb is on fb1.
      They tried to drive the same pieces of hardware at the same
      time. With unmodified X start-up, it would try to use default
      fb0 framebuffer device and unfortunately it is now broken
      becaues fb1 supersedes it.
      
      We should let psbfb takeover framebuffer control from vesafb
      to get around this problem.
      
      See also commit : 4410f391Signed-off-by: default avatarMichael Chang <mchang@novell.com>
      Cc: Alan Cox <alan@linux.intel.com>
      Cc: stable <stable@kernel.org>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      aaa5c677
    • Patrik Jakobsson's avatar
      staging: gma500: Skip bogus LVDS VBT mode and check for LVDS before adding backlight · 3ab8be53
      Patrik Jakobsson authored
      On the Fit-PC2 the VBT reports an invalid fixed panel mode for LVDS, this gets
      in the way for SDVO. This patch makes VBT parsing skip the invalid mode. When
      there is no LVDS output the backlight support crashes so the patch also checks
      for this before enabling it.
      Signed-off-by: default avatarPatrik Jakobsson <patrik.r.jakobsson@gmail.com>
      Signed-off-by: default avatarAlan Cox <alan@linux.intel.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      3ab8be53
    • Arjan Mels's avatar
      staging: usbip: bugfix prevent driver unbind · d3ac0778
      Arjan Mels authored
      Implemented pre_reset and post_reset methods of the driver to prevent the
      driver from being unbound upon a device reset. Because of this also the
      asynchronous reset introduced to prevent a race condition is no longer necessary
      (and sometimes causes problems, because it comes later then expected).
      Signed-off-by: default avatarArjan Mels <arjan.mels@gmx.net>
      Cc: Greg Kroah-Hartman <gregkh@suse.de>
      Cc: Takahiro Hirofuchi <hirofuchi@users.sourceforge.net>
      Cc: Max Vozeler <max@vozeler.com>
      Cc: usbip-devel <usbip-devel@lists.sourceforge.net>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      d3ac0778
    • Michael Hennerich's avatar
      staging: iio: industrialio-trigger: set iio_poll_func private_data · c11c4eeb
      Michael Hennerich authored
      Failure to set iio_poll_func private_data, causes zero pointer access
      violations in all consumer trigger handlers.
      Signed-off-by: default avatarMichael Hennerich <michael.hennerich@analog.com>
      Acked-by: default avatarJonathan Cameron <jic23@cam.ac.uk>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      c11c4eeb
    • Nicolas Kaiser's avatar
      staging: rts_pstor: use bitwise operator instead of logical one · cddac88f
      Nicolas Kaiser authored
      Looks like a typo.
      Signed-off-by: default avatarNicolas Kaiser <nikai@nikai.net>
      Reviewed-by: default avatarPeter Huewe <peterhuewe@gmx.de>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      cddac88f
    • Randy Dunlap's avatar
      staging: fix ath6kl build when CFG80211 is not enabled · 827e4a07
      Randy Dunlap authored
      Fix build errors when CONFIG_CFG80211 is not enabled:
      
      drivers/built-in.o: In function `ar6k_cfg80211_deinit':
      (.text+0x189b71): undefined reference to `cfg80211_scan_done'
      drivers/built-in.o: In function `ar6k_cfg80211_deinit':
      (.text+0x189b86): undefined reference to `wiphy_unregister'
      drivers/built-in.o: In function `ar6k_cfg80211_deinit':
      (.text+0x189b8d): undefined reference to `wiphy_free'
      drivers/built-in.o: In function `ar6k_cfg80211_init':
      (.text+0x18add7): undefined reference to `wiphy_new'
      drivers/built-in.o: In function `ar6k_cfg80211_init':
      (.text+0x18ae48): undefined reference to `wiphy_register'
      drivers/built-in.o: In function `ar6k_cfg80211_tkip_micerr_event':
      (.text+0x18ae95): undefined reference to `cfg80211_michael_mic_failure'
      drivers/built-in.o: In function `ar6k_cfg80211_scan_node':
      (.text+0x18afb5): undefined reference to `__ieee80211_get_channel'
      drivers/built-in.o: In function `ar6k_cfg80211_scan_node':
      (.text+0x18afd2): undefined reference to `cfg80211_inform_bss_frame'
      drivers/built-in.o: In function `ar6k_cfg80211_disconnect_event':
      (.text+0x18b046): undefined reference to `cfg80211_ibss_joined'
      drivers/built-in.o: In function `ar6k_cfg80211_disconnect_event':
      (.text+0x18b176): undefined reference to `cfg80211_connect_result'
      drivers/built-in.o: In function `ar6k_cfg80211_disconnect_event':
      (.text+0x18b190): undefined reference to `cfg80211_disconnected'
      drivers/built-in.o: In function `ar6k_cfg80211_connect_event':
      (.text+0x18b291): undefined reference to `cfg80211_get_bss'
      drivers/built-in.o: In function `ar6k_cfg80211_connect_event':
      (.text+0x18b457): undefined reference to `cfg80211_put_bss'
      drivers/built-in.o: In function `ar6k_cfg80211_connect_event':
      (.text+0x18b4fa): undefined reference to `cfg80211_roamed'
      Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
      Cc: Luis R. Rodriguez <mcgrof@gmail.com>
      Cc: Joe Perches <joe@perches.com>
      Cc: Naveen Singh <nsingh@atheros.com>
      Signed-off-by: default avatarPeter Foley <pefoley2@verizon.net>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      827e4a07
    • Roland Vossen's avatar
    • Randy Dunlap's avatar
      staging: fix olpc_dcon build, needs BACKLIGHT_CLASS_DEVICE · 91e623de
      Randy Dunlap authored
      Fix olpc_dcon.c build by selecting the needed kconfig symbol
      BACKLIGHT_CLASS_DEVICE.
      
      olpc_dcon.c:(.text+0x11588b): undefined reference to `backlight_device_register'
      Signed-off-by: default avatarRandy Dunlap <randy.dunlap@oracle.com>
      Cc: Andres Salomon <dilinger@queued.net>
      Cc: Chris Ball <cjb@laptop.org>
      Cc: Jon Nettleton <jon.nettleton@gmail.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      91e623de
    • Greg Kroah-Hartman's avatar
      Staging: remove STAGING_EXCLUDE_BUILD option · fe35a59e
      Greg Kroah-Hartman authored
      Part of the requirement to be in the staging tree is that the code must
      build, so let's make it easier for people to build the code to
      test/prove this out.
      
      Based on a recommendation from Linus to implement this.
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      fe35a59e
    • Greg Kroah-Hartman's avatar
      Staging: altera: move .h file to proper place · 85ab9ee9
      Greg Kroah-Hartman authored
      Staging drivers should be self-contained, without files in the include/
      directories.  So move the altera.h file back to the driver directory for
      now, until it moves out of the staging tree.
      
      Cc: Igor M. Liplianin <liplianin@netup.ru>
      Cc: Mauro Carvalho Chehab <mchehab@redhat.com>
      Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
      85ab9ee9
  3. 06 Jun, 2011 5 commits
  4. 04 Jun, 2011 17 commits
  5. 03 Jun, 2011 5 commits