25 Jul, 2011

1 commit


23 Jul, 2011

1 commit

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/viro/vfs-2.6: (107 commits)
    vfs: use ERR_CAST for err-ptr tossing in lookup_instantiate_filp
    isofs: Remove global fs lock
    jffs2: fix IN_DELETE_SELF on overwriting rename() killing a directory
    fix IN_DELETE_SELF on overwriting rename() on ramfs et.al.
    mm/truncate.c: fix build for CONFIG_BLOCK not enabled
    fs:update the NOTE of the file_operations structure
    Remove dead code in dget_parent()
    AFS: Fix silly characters in a comment
    switch d_add_ci() to d_splice_alias() in "found negative" case as well
    simplify gfs2_lookup()
    jfs_lookup(): don't bother with . or ..
    get rid of useless dget_parent() in btrfs rename() and link()
    get rid of useless dget_parent() in fs/btrfs/ioctl.c
    fs: push i_mutex and filemap_write_and_wait down into ->fsync() handlers
    drivers: fix up various ->llseek() implementations
    fs: handle SEEK_HOLE/SEEK_DATA properly in all fs's that define their own llseek
    Ext4: handle SEEK_HOLE/SEEK_DATA generically
    Btrfs: implement our own ->llseek
    fs: add SEEK_HOLE and SEEK_DATA flags
    reiserfs: make reiserfs default to barrier=flush
    ...

    Fix up trivial conflicts in fs/xfs/linux-2.6/xfs_super.c due to the new
    shrinker callout for the inode cache, that clashed with the xfs code to
    start the periodic workers later.

    Linus Torvalds
     

22 Jul, 2011

1 commit


21 Jul, 2011

1 commit

  • Btrfs needs to be able to control how filemap_write_and_wait_range() is called
    in fsync to make it less of a painful operation, so push down taking i_mutex and
    the calling of filemap_write_and_wait() down into the ->fsync() handlers. Some
    file systems can drop taking the i_mutex altogether it seems, like ext3 and
    ocfs2. For correctness sake I just pushed everything down in all cases to make
    sure that we keep the current behavior the same for everybody, and then each
    individual fs maintainer can make up their mind about what to do from there.
    Thanks,

    Acked-by: Jan Kara
    Signed-off-by: Josef Bacik
    Signed-off-by: Al Viro

    Josef Bacik
     

20 Jul, 2011

1 commit


14 Jul, 2011

1 commit


13 Jul, 2011

1 commit

  • Almost all of these have long outstayed their welcome.

    And for every one of these macros, there are 10 features for which we
    didn't add macros.

    Let's just delete them all, and get out of habit of doing things this
    way.

    Signed-off-by: David S. Miller
    Acked-by: Stephen Hemminger
    Acked-by: Arnd Bergmann

    David S. Miller
     

07 Jul, 2011

1 commit

  • * 'v4l_for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6: (46 commits)
    [media] rc: call input_sync after scancode reports
    [media] imon: allow either proto on unknown 0xffdc
    [media] imon: auto-config ffdc 7e device
    [media] saa7134: fix raw IR timeout value
    [media] rc: fix ghost keypresses with certain hw
    [media] [staging] lirc_serial: allocate irq at init time
    [media] lirc_zilog: fix spinning rx thread
    [media] keymaps: fix table for pinnacle pctv hd devices
    [media] ite-cir: 8709 needs to use pnp resource 2
    [media] V4L: mx1-camera: fix uninitialized variable
    [media] omap_vout: Added check in reqbuf & mmap for buf_size allocation
    [media] OMAP_VOUT: Change hardcoded device node number to -1
    [media] OMAP_VOUTLIB: Fix wrong resizer calculation
    [media] uvcvideo: Disable the queue when failing to start
    [media] uvcvideo: Remove buffers from the queues when freeing
    [media] uvcvideo: Ignore entities for terminals with no supported format
    [media] v4l: Don't access media entity after is has been destroyed
    [media] media: omap3isp: fix a potential NULL deref
    [media] media: vb2: fix allocation failure check
    [media] media: vb2: reset queued_count value during queue reinitialization
    ...

    Fix up trivial conflict in MAINTAINERS as per Mauro

    Linus Torvalds
     

06 Jul, 2011

1 commit


02 Jul, 2011

2 commits

  • There's really no good reason not to just grab the desired IRQ at driver
    init time, instead of every time the lirc device node is accessed. This
    also improves the speed and reliability with which a serial transmitter
    can operate, as back-to-back transmission attempts (i.e., channel change
    to a multi-digit channel) don't have to spend time acquiring and then
    releasing the IRQ for every digit, sometimes multiple times, if lircd
    has been told to use the min_repeat parameter.

    CC: devel@driverdev.osuosl.org
    Signed-off-by: Jarod Wilson
    Signed-off-by: Mauro Carvalho Chehab

    Jarod Wilson
     
  • We were calling schedule_timeout with the rx thread's task state still
    at TASK_RUNNING, which it shouldn't be. Make sure we call
    set_current_state(TASK_INTERRUPTIBLE) *before* schedule_timeout, and
    we're all good here. I believe this problem was mistakenly introduced in
    commit 5bd6b0464b68d429bc8a3fe6595d19c39dfc4d95, and I'm not sure how I
    missed it before, as I swear I tested the patchset that was included in,
    but alas, stuff happens...

    Acked-by: Andy Walls
    CC: stable@kernel.org
    Signed-off-by: Jarod Wilson
    Signed-off-by: Mauro Carvalho Chehab

    Jarod Wilson
     

28 Jun, 2011

8 commits

  • Some platforms do not have virt_to_bus(), so properly depend on
    CONFIG_VIRT_TO_BUS for the Comedi drivers that need this function.

    Reported-by: Stephen Rothwell
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • As David points out, the driver is also broken on SPARC, so might
    as well just only enable it on platforms where people have reported it
    working, instead of trying to list all of the ones where it doesn't
    work, as the working platform list is much smaller...

    Reported-by: David Miller
    Reported-by: Stephen Rothwell
    Cc: Henry Ptasinski
    Cc: Brett Rudley
    Cc: Roland Vossen
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • Right now, bad things happen if you try to build these drivers for the
    PPC platform as it seems that the code only has been tested and built on
    the MIPS big endian platform.

    So disable it on the PPC32 and PPC64 platforms for now, hopefully this
    will be resolved in the future as I'm sure someone will want to use
    these chips with that platform someday.

    Reported-by: Stephen Rothwell
    Cc: Henry Ptasinski
    Cc: Brett Rudley
    Cc: Roland Vossen

    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • On m68k (which doesn't support generic hardirqs yet):

    drivers/staging/iio/industrialio-trigger.c: In function ‘iio_trigger_poll’:
    drivers/staging/iio/industrialio-trigger.c:180: error: implicit declaration of function ‘generic_handle_irq’
    drivers/staging/iio/industrialio-trigger.c: In function ‘iio_trigger_poll_chained’:
    drivers/staging/iio/industrialio-trigger.c:200: error: implicit declaration of function ‘handle_nested_irq’
    drivers/staging/iio/industrialio-trigger.c: In function ‘iio_trig_release’:
    drivers/staging/iio/industrialio-trigger.c:379: error: implicit declaration of function ‘irq_modify_status’
    drivers/staging/iio/industrialio-trigger.c:382: error: implicit declaration of function ‘irq_set_chip’
    drivers/staging/iio/industrialio-trigger.c:384: error: implicit declaration of function ‘irq_set_handler’
    drivers/staging/iio/industrialio-trigger.c:388: error: implicit declaration of function ‘irq_free_descs’
    drivers/staging/iio/industrialio-trigger.c: In function ‘iio_trig_subirqmask’:
    drivers/staging/iio/industrialio-trigger.c:402: error: implicit declaration of function ‘irq_data_get_irq_chip’
    drivers/staging/iio/industrialio-trigger.c:402: warning: initialization makes pointer from integer without a cast
    drivers/staging/iio/industrialio-trigger.c: In function ‘iio_trig_subirqunmask’:
    drivers/staging/iio/industrialio-trigger.c:411: warning: initialization makes pointer from integer without a cast
    drivers/staging/iio/industrialio-trigger.c: In function ‘iio_allocate_trigger’:
    drivers/staging/iio/industrialio-trigger.c:432: error: implicit declaration of function ‘irq_alloc_descs’
    drivers/staging/iio/industrialio-trigger.c:455: error: ‘handle_simple_irq’ undeclared (first use in this function)
    drivers/staging/iio/industrialio-trigger.c:455: error: (Each undeclared identifier is reported only once
    drivers/staging/iio/industrialio-trigger.c:455: error: for each function it appears in.)

    Hence IIO_TRIGGER should depend on GENERIC_HARDIRQS.
    But as IIO_TRIGGER and IIO_RING_BUFFER form a maze of dependencies and selects,
    just make the whole IIO subsystem depend on GENERIC_HARDIRQS.

    This dependency also covers !S390, so that one can be removed again.

    Signed-off-by: Geert Uytterhoeven
    Acked-by: Jonathan Cameron
    Signed-off-by: Greg Kroah-Hartman

    Geert Uytterhoeven
     
  • wait_event_interruptible_timeout return value was wrongly used.
    The remaining timeout was used as the error code.
    This fix translated wait_event_interruptible_timeout return value
    into error code that can be propagated.

    [10291.674121] pci_pm_suspend(): mei_pci_suspend+0x0/0x8b [mei] returns 2500
    It's thinkpad t400 with
    00:03.0 Communication controller [0780]: Intel Corporation Mobile 4 Series Chipset MEI Controller [8086:2a44] (rev 07)

    Reported-by: Arkadiusz Miskiewicz
    Signed-off-by: Tomas Winkler
    Signed-off-by: Greg Kroah-Hartman

    Tomas Winkler
     
  • Fix build by moving enum list outside of
    #ifdef CONFIG_IIO_RING_BUFFER.

    drivers/staging/iio/accel/adis16201_core.c:413: error: 'ADIS16201_SCAN_SUPPLY' undeclared here (not in a function)
    drivers/staging/iio/accel/adis16201_core.c:417: error: 'ADIS16201_SCAN_TEMP' undeclared here (not in a function)
    drivers/staging/iio/accel/adis16201_core.c:422: error: 'ADIS16201_SCAN_ACC_X' undeclared here (not in a function)
    drivers/staging/iio/accel/adis16201_core.c:427: error: 'ADIS16201_SCAN_ACC_Y' undeclared here (not in a function)
    drivers/staging/iio/accel/adis16201_core.c:432: error: 'ADIS16201_SCAN_AUX_ADC' undeclared here (not in a function)
    drivers/staging/iio/accel/adis16201_core.c:436: error: 'ADIS16201_SCAN_INCLI_X' undeclared here (not in a function)
    drivers/staging/iio/accel/adis16201_core.c:441: error: 'ADIS16201_SCAN_INCLI_Y' undeclared here (not in a function)

    vers/staging/iio/accel/adis16203_core.c:374: error: 'ADIS16203_SCAN_SUPPLY' undeclared here (not in a function)
    drivers/staging/iio/accel/adis16203_core.c:378: error: 'ADIS16203_SCAN_AUX_ADC' undeclared here (not in a function)
    drivers/staging/iio/accel/adis16203_core.c:382: error: 'ADIS16203_SCAN_INCLI_X' undeclared here (not in a function)
    drivers/staging/iio/accel/adis16203_core.c:388: error: 'ADIS16203_SCAN_INCLI_Y' undeclared here (not in a function)
    drivers/staging/iio/accel/adis16203_core.c:392: error: 'ADIS16203_SCAN_TEMP' undeclared here (not in a function)

    Signed-off-by: Randy Dunlap
    Acked-by: Jonathan Cameron
    Signed-off-by: Greg Kroah-Hartman

    Randy Dunlap
     
  • On architectures that don't define PAGE_KERNEL_NOCACHE, the Comedi driver turns
    into tragedy:

    CC [M] drivers/staging/comedi/drivers.o
    drivers/staging/comedi/drivers.c: In function ‘comedi_buf_alloc’:
    drivers/staging/comedi/drivers.c:505:41: error: ‘PAGE_KERNEL_NOCACHE’ undeclared (first use in this function)
    drivers/staging/comedi/drivers.c:505:41: note: each undeclared identifier is rep orted only once for each function it appears in
    make[3]: *** [drivers/staging/comedi/drivers.o] Error 1

    Restrict the driver to only those architectures that define PAGE_KERNEL_NOCACHE.

    PAGE_KERNEL_NOCACHE is a kludge - some system architectures such as SGI IP27
    are even uable to offer uncached operation - at least in the way an unwitting
    driver might assume. I haven't looked in details how the driver is using
    the area vmaped with PAGE_KERNEL_NOCACHE but maybe doing it XFS-style using
    cached memory and the flush_kernel_vmap_range / invalidate_kernel_vmap_range
    APIs in conjunction with the DMA API is a practical alternative.

    Signed-off-by: Ralf Baechle
    Reported-by: David Miller
    Reported-by: Stephen Rothwell
    Acked-by: Geert Uytterhoeven
    Cc: Martyn Welch
    Signed-off-by: Greg Kroah-Hartman

    Ralf Baechle
     
  • Fix lots more build errors in staging/iio when CONFIG_IIO_RING_BUFFER
    is not enabled by moving enums and defines outside of the
    CONFIG_IIO_RING_BUFFER ifdef block.

    Examples (one from each driver; there were 116 total errors):

    drivers/staging/iio/accel/adis16204_core.c:437: error: 'ADIS16204_SCAN_SUPPLY' undeclared here (not in a function)
    drivers/staging/iio/accel/adis16209_core.c:410: error: 'ADIS16209_SCAN_SUPPLY' undeclared here (not in a function)
    drivers/staging/iio/gyro/adis16260_core.c:420: error: 'ADIS16260_SCAN_GYRO' undeclared here (not in a function)
    drivers/staging/iio/imu/adis16400_core.c:565: error: 'ADIS16400_SCAN_SUPPLY' undeclared here (not in a function)

    Signed-off-by: Randy Dunlap
    Acked-by: Jonathan Cameron
    Signed-off-by: Greg Kroah-Hartman

    Randy Dunlap
     

22 Jun, 2011

1 commit

  • Remove linux/mm.h inclusion from netdevice.h -- it's unused (I've checked manually).

    To prevent mm.h inclusion via other channels also extract "enum dma_data_direction"
    definition into separate header. This tiny piece is what gluing netdevice.h with mm.h
    via "netdevice.h => dmaengine.h => dma-mapping.h => scatterlist.h => mm.h".
    Removal of mm.h from scatterlist.h was tried and was found not feasible
    on most archs, so the link was cutoff earlier.

    Hope people are OK with tiny include file.

    Note, that mm_types.h is still dragged in, but it is a separate story.

    Signed-off-by: Alexey Dobriyan
    Signed-off-by: David S. Miller

    Alexey Dobriyan
     

21 Jun, 2011

1 commit


20 Jun, 2011

1 commit

  • Made necessary by commit a6b7a407865a ("net: remove
    interrupt.h inclusion from netdevice.h").

    Fixes these build errors:

    drivers/staging/brcm80211/brcmfmac/dhd_linux.c:1212:3: error: implicit declaration of function 'in_interrupt'
    drivers/staging/brcm80211/brcmfmac/dhd_linux.c:1390:4: error: implicit declaration of function 'tasklet_schedule'
    drivers/staging/brcm80211/brcmfmac/dhd_linux.c:1988:3: error: implicit declaration of function 'tasklet_init'
    drivers/staging/brcm80211/brcmfmac/dhd_linux.c:2288:5: error: implicit declaration of function 'tasklet_kill'
    drivers/staging/brcm80211/brcmfmac/dhd_linux.c:232:24: error: field 'tasklet' has incomplete type
    drivers/staging/brcm80211/brcmfmac/wl_iw.c:3670:2: error: implicit declaration of function 'in_interrupt'
    drivers/staging/brcm80211/brcmsmac/wl_mac80211.c:1349:3: error: implicit declaration of function 'free_irq'
    drivers/staging/brcm80211/brcmsmac/wl_mac80211.c:1352:2: error: implicit declaration of function 'tasklet_kill'
    drivers/staging/brcm80211/brcmsmac/wl_mac80211.c:1538:4: error: implicit declaration of function 'tasklet_schedule'
    drivers/staging/brcm80211/brcmsmac/wl_mac80211.c:765:2: error: implicit declaration of function 'tasklet_init'
    drivers/staging/brcm80211/brcmsmac/wl_mac80211.c:817:2: error: implicit declaration of function 'request_irq'
    drivers/staging/brcm80211/brcmsmac/wl_mac80211.c:817:31: error: 'IRQF_SHARED' undeclared (first use in this function)
    drivers/staging/brcm80211/brcmsmac/wl_mac80211.h:65:24: error: field 'tasklet' has incomplete type
    drivers/staging/rtl8187se/ieee80211/ieee80211.h:994:24: error: field 'ps_task' has incomplete type
    drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c:1790:3: error: implicit declaration of function 'tasklet_schedule'
    drivers/staging/rtl8187se/ieee80211/ieee80211_softmac.c:2590:2: error: implicit declaration of function 'tasklet_init'
    drivers/staging/rtl8187se/r8180.h:461:24: error: field 'irq_rx_tasklet' has incomplete type
    drivers/staging/rtl8187se/r8180_core.c:2764:2: error: implicit declaration of function 'tasklet_init'
    drivers/staging/rtl8187se/r8180_core.c:2954:2: error: implicit declaration of function 'request_irq'
    drivers/staging/rtl8187se/r8180_core.c:2954:55: error: 'IRQF_SHARED' undeclared (first use in this function)
    drivers/staging/rtl8187se/r8180_core.c:3641:4: error: implicit declaration of function 'free_irq'
    drivers/staging/rtl8187se/r8180_core.c:4026:3: error: implicit declaration of function 'tasklet_schedule'
    drivers/staging/rtl8192e/ieee80211/ieee80211.h:2000:24: error: field 'ps_task' has incomplete type
    drivers/staging/rtl8192e/r8192E.h:909:24: error: field 'irq_rx_tasklet' has incomplete type
    drivers/staging/rtl8192e/r8192E.h:910:24: error: field 'irq_tx_tasklet' has incomplete type
    drivers/staging/rtl8192e/r8192E.h:911:31: error: field 'irq_prepare_beacon_tasklet' has incomplete type
    drivers/staging/rtl8192e/r8192E_core.c:2008:2: error: implicit declaration of function 'tasklet_init'
    drivers/staging/rtl8192e/r8192E_core.c:2412:54: error: 'IRQF_SHARED' undeclared (first use in this function)
    drivers/staging/rtl8192e/r8192E_core.c:2412:9: error: implicit declaration of function 'request_irq'
    drivers/staging/rtl8192e/r8192E_core.c:4640:4: error: implicit declaration of function 'free_irq'
    drivers/staging/rtl8192e/r8192E_core.c:620:2: error: implicit declaration of function 'synchronize_irq'
    drivers/staging/rtl8192e/r8192E_core.c:913:3: error: implicit declaration of function 'tasklet_schedule'
    drivers/staging/rtl8192u/ieee80211/ieee80211.h:1993:24: error: field 'ps_task' has incomplete type

    Signed-off-by: Stephen Rothwell
    Signed-off-by: David S. Miller

    Stephen Rothwell
     

16 Jun, 2011

1 commit

  • Fix build by moving enum list outside of
    #ifdef CONFIG_IIO_RING_BUFFER.

    drivers/staging/iio/accel/adis16201_core.c:413: error: 'ADIS16201_SCAN_SUPPLY' undeclared here (not in a function)
    drivers/staging/iio/accel/adis16201_core.c:417: error: 'ADIS16201_SCAN_TEMP' undeclared here (not in a function)
    ..

    drivers/staging/iio/accel/adis16203_core.c:374: error: 'ADIS16203_SCAN_SUPPLY' undeclared here (not in a function)
    drivers/staging/iio/accel/adis16203_core.c:378: error: 'ADIS16203_SCAN_AUX_ADC' undeclared here (not in a function)
    ..

    Signed-off-by: Randy Dunlap
    Acked-by: Jonathan Cameron
    Cc: linux-iio@vger.kernel.org
    Signed-off-by: Linus Torvalds

    Randy Dunlap
     

11 Jun, 2011

2 commits


10 Jun, 2011

2 commits


08 Jun, 2011

12 commits

  • The data pointer should be freed in the error
    cases of adis16400_trigger_handler().

    Signed-off-by: Andre Bartke
    Acked-by: Jonathan Cameron
    Signed-off-by: Greg Kroah-Hartman

    Andre Bartke
     
  • 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:[] [] 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:
    [] wmi_iterate_nodes+0x12/0x20 [ath6kl]
    [] ar6k_cfg80211_scanComplete_event+0x3f/0xf0 [ath6kl]
    [] ar6000_close+0x61/0x100 [ath6kl]
    [] __dev_close_many+0x96/0x100
    [] dev_close_many+0x9d/0x120
    [] rollback_registered_many+0xe8/0x290
    [] unregister_netdevice_queue+0x96/0x100
    [] unregister_netdev+0x20/0x30
    [] ar6000_destroy+0x119/0x180 [ath6kl]
    [] ar6k_cleanup_module+0x2a/0x33 [ath6kl]
    [] sys_delete_module+0x19e/0x270
    [] 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 [] wlan_iterate_nodes+0x16/0xc0 [ath6kl]
    RSP

    Signed-off-by: Vasanthakumar Thiagarajan
    Signed-off-by: Greg Kroah-Hartman

    Vasanthakumar Thiagarajan
     
  • 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 : 4410f3910947dcea8672280b3adecd53cec4e85e

    Signed-off-by: Michael Chang
    Cc: Alan Cox
    Cc: stable
    Signed-off-by: Greg Kroah-Hartman

    Michael Chang
     
  • 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: Patrik Jakobsson
    Signed-off-by: Alan Cox
    Signed-off-by: Greg Kroah-Hartman

    Patrik Jakobsson
     
  • 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: Arjan Mels
    Cc: Greg Kroah-Hartman
    Cc: Takahiro Hirofuchi
    Cc: Max Vozeler
    Cc: usbip-devel
    Signed-off-by: Greg Kroah-Hartman

    Arjan Mels
     
  • Failure to set iio_poll_func private_data, causes zero pointer access
    violations in all consumer trigger handlers.

    Signed-off-by: Michael Hennerich
    Acked-by: Jonathan Cameron
    Signed-off-by: Greg Kroah-Hartman

    Michael Hennerich
     
  • Looks like a typo.

    Signed-off-by: Nicolas Kaiser
    Reviewed-by: Peter Huewe
    Signed-off-by: Greg Kroah-Hartman

    Nicolas Kaiser
     
  • 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: Randy Dunlap
    Cc: Luis R. Rodriguez
    Cc: Joe Perches
    Cc: Naveen Singh
    Signed-off-by: Peter Foley
    Signed-off-by: Greg Kroah-Hartman

    Randy Dunlap
     
  • Reported-by: Linus Torvalds
    Signed-off-by: Roland Vossen
    Signed-off-by: Greg Kroah-Hartman

    Roland Vossen
     
  • 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: Randy Dunlap
    Cc: Andres Salomon
    Cc: Chris Ball
    Cc: Jon Nettleton
    Signed-off-by: Greg Kroah-Hartman

    Randy Dunlap
     
  • 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: Greg Kroah-Hartman

    Greg Kroah-Hartman
     
  • 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
    Cc: Mauro Carvalho Chehab
    Signed-off-by: Greg Kroah-Hartman

    Greg Kroah-Hartman
     

27 May, 2011

1 commit

  • * 'trivial' of git://git.kernel.org/pub/scm/linux/kernel/git/mmarek/kbuild-2.6:
    gfs2: Drop __TIME__ usage
    isdn/diva: Drop __TIME__ usage
    atm: Drop __TIME__ usage
    dlm: Drop __TIME__ usage
    wan/pc300: Drop __TIME__ usage
    parport: Drop __TIME__ usage
    hdlcdrv: Drop __TIME__ usage
    baycom: Drop __TIME__ usage
    pmcraid: Drop __DATE__ usage
    edac: Drop __DATE__ usage
    rio: Drop __DATE__ usage
    scsi/wd33c93: Drop __TIME__ usage
    scsi/in2000: Drop __TIME__ usage
    aacraid: Drop __TIME__ usage
    media/cx231xx: Drop __TIME__ usage
    media/radio-maxiradio: Drop __TIME__ usage
    nozomi: Drop __TIME__ usage
    cyclades: Drop __TIME__ usage

    Linus Torvalds