11 Sep, 2008

4 commits

  • * git://git.kernel.org/pub/scm/linux/kernel/git/jejb/scsi-rc-fixes-2.6:
    [SCSI] fix check of PQ and PDT bits for WLUNs
    [SCSI] make scsi_check_sense HARDWARE_ERROR return ADD_TO_MLQUEUE on retry
    [SCSI] scsi_dh: make check_sense return ADD_TO_MLQUEUE
    [SCSI] zfcp: Remove duplicated unlikely() macros.
    [SCSI] zfcp: channel cannot be detached due to refcount imbalance
    [SCSI] zfcp: Fix reference counter for remote ports
    [SCSI] zfcp: Simplify ccw notify handler
    [SCSI] zfcp: Correctly query end flag in gpn_ft response
    [SCSI] zfcp: Fix request queue locking
    [SCSI] sd: select CRC_T10DIF only when necessary

    Linus Torvalds
     
  • * git://git.kernel.org/pub/scm/linux/kernel/git/bart/ide-2.6:
    add deprecated ide-scsi to feature-removal-schedule.txt
    ide: Fix pointer arithmetic in hpt3xx driver code (3rd try)

    Linus Torvalds
     
  • commit 0d3244d6439c8c31d2a29efd587c7aca9042c8aa ("V4L/DVB (8342):
    sh_mobile_ceu_camera: Add SuperH Mobile CEU driver V3") introduced
    VIDEO_SH_MOBILE_CEU, which selects VIDEOBUF_DMA_CONTIG. This circumvents the
    dependency on HAS_DMA of VIDEOBUF_DMA_CONTIG.

    Add a dependency on HAS_DMA to VIDEO_SH_MOBILE_CEU to fix this.

    Signed-off-by: Geert Uytterhoeven
    Acked-by: Paul Mundt
    Acked-by: Magnus Damm
    Signed-off-by: Linus Torvalds

    Geert Uytterhoeven
     
  • git commit 74811f355f4f69a187fa74892dcf2a684b84ce99 causes crash at
    module load (or boot) time on my machine with a hpt374 controller.
    The reason for this is that for initializing second controller which sets
    (hwif->dev == host->dev[1]) to true (1), adds 1 to a void ptr, which
    advances it by one byte instead of advancing it by sizeof(hpt_info) bytes.
    Because of this, all initialization functions get corrupted data in info
    variable which causes a crash at boot time.

    This patch fixes that and makes my machine boot again.

    The card itself is a HPT374 raid conroller: Here is the lspci -v output:
    03:06.0 RAID bus controller: HighPoint Technologies, Inc. HPT374 (rev
    07)
    Subsystem: HighPoint Technologies, Inc. Unknown device 0001
    Flags: bus master, 66MHz, medium devsel, latency 120, IRQ 28
    I/O ports at 8000 [size=8]
    I/O ports at 7800 [size=4]
    I/O ports at 7400 [size=8]
    I/O ports at 7000 [size=4]
    I/O ports at 6800 [size=256]
    Expansion ROM at fe8e0000 [disabled] [size=128K]
    Capabilities: [60] Power Management version 2

    03:06.1 RAID bus controller: HighPoint Technologies, Inc. HPT374 (rev
    07)
    Subsystem: HighPoint Technologies, Inc. Unknown device 0001
    Flags: bus master, 66MHz, medium devsel, latency 120, IRQ 28
    I/O ports at 9800 [size=8]
    I/O ports at 9400 [size=4]
    I/O ports at 9000 [size=8]
    I/O ports at 8800 [size=4]
    I/O ports at 8400 [size=256]
    Capabilities: [60] Power Management version 2

    Signed-off-by: Masoud Sharbiani
    Cc: Sergei Shtylyov
    Cc: Andrew Morton
    [bart: use dev_get_drvdata() per Sergei's suggestion]
    Signed-off-by: Bartlomiej Zolnierkiewicz

    Masoud Sharbiani
     

10 Sep, 2008

1 commit


09 Sep, 2008

14 commits

  • When disconnected ccw devices are removed, the device has to be set
    offline, otherwise there will be side effects including a reference
    count imbalance. This patch modifies ccw_device_offline to work for
    devices in disconnecte/not operational state. ccw_device_offline is
    called by cio for devices which are online during device removal.

    Signed-off-by: Peter Oberparleiter
    Signed-off-by: Martin Schwidefsky

    Peter Oberparleiter
     
  • ssch() has two classes of return codes:
    - condition codes (0-3) which need to be translated to Linux
    error codes
    - Linux error codes (-EIO on exceptions) which should be passed
    to the caller (instead of erronously being handled like
    condition code 3)

    Signed-off-by: Cornelia Huck
    Signed-off-by: Martin Schwidefsky

    Cornelia Huck
     
  • Fix cleanup on error in chp_new() and init_channel_subsystem()
    (must not call kfree() on structures that had been registered).

    Signed-off-by: Cornelia Huck
    Signed-off-by: Martin Schwidefsky

    Cornelia Huck
     
  • * master.kernel.org:/home/rmk/linux-2.6-arm:
    [ARM] 5241/1: provide ioremap_wc()
    [ARM] omap: fix virtual vs physical address space confusions
    [ARM] remove unused #include
    [ARM] omap: fix build error in ohci-omap.c
    [ARM] omap: fix gpio.c build error

    Linus Torvalds
     
  • * 'upstream-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jgarzik/libata-dev:
    ahci: RAID mode SATA patch for Intel Ibex Peak DeviceIDs
    pata_sil680: remove duplicate pcim_enable_device
    libata-sff: kill spurious WARN_ON() in ata_hsm_move()
    sata_nv: disable hardreset for generic
    ahci: disable PMP for marvell ahcis
    sata_mv: add RocketRaid 1720 PCI ID to driver
    ahci, pata_marvell: play nicely together

    Linus Torvalds
     
  • The hw interface drivers for the usb serial devices deference the tty
    structure to set up the parameters for the initial console. The tty
    structure should be passed as a parameter to the set_termios() call.

    Signed-off-by: Jason Wessel
    Signed-off-by: Alan Cox
    Signed-off-by: Linus Torvalds

    Jason Wessel
     
  • Set the class so it doesn't clash with the normal memory class.

    Signed-off-by: Jeremy Fitzhardinge
    Signed-off-by: Ingo Molnar
    ===================================================================

    Jeremy Fitzhardinge
     
  • Add the Intel Ibex Peak (PCH) SATA RAID Controller DeviceIDs.

    Signed-off-by: Seth Heasley
    Signed-off-by: Jeff Garzik

    Seth Heasley
     
  • Remove duplicate call to pcim_enable_device in sil680_init_one.

    Signed-off-by: David Milburn
    Signed-off-by: Jeff Garzik

    David Milburn
     
  • On HSM_ST_ERR, ata_hsm_move() triggers WARN_ON() if AC_ERR_DEV or
    AC_ERR_HSM is not set. PHY events may trigger HSM_ST_ERR with other
    error codes and, with or without it, there just isn't much reason to
    do WARN_ON() on it. Even if error code is not set there, core EH
    logic won't have any problem dealing with the error condition.

    OSDL bz#11065 reports this problem.

    Signed-off-by: Tejun Heo
    Signed-off-by: Jeff Garzik

    Tejun Heo
     
  • of them being unifying probing, hotplug and EH reset paths uniform.
    Previously, broken hardreset could go unnoticed as it wasn't used
    during probing but when something goes wrong or after hotplug the
    problem will surface and bite hard.

    OSDL bug 11195 reports that sata_nv generic flavor falls into this
    category. Hardreset itself succeeds but PHY stays offline after
    hardreset. I tried longer debounce timing but the result was the
    same.

    http://bugzilla.kernel.org/show_bug.cgi?id=11195

    So, it seems we'll have to drop hardreset from the generic flavor.

    Signed-off-by: Tejun Heo
    Cc: Peer Chen
    Signed-off-by: Jeff Garzik

    Tejun Heo
     
  • Marvell ahcis don't play nicely with PMPs. Disable it.

    Reported by KueiHuan Chen in the following thread.

    http://thread.gmane.org/gmane.linux.ide/33296

    Signed-off-by: Tejun Heo
    Cc: KueiHuan Chen
    Cc: Mark Lord
    Signed-off-by: Jeff Garzik

    Tejun Heo
     
  • Signed-off-by: Petr Jelen
    Signed-off-by: Mark Lord
    Signed-off-by: Jeff Garzik

    Mark Lord
     
  • I've been chasing Jeff about this for months. Jeff added the Marvell
    device identifiers to the ahci driver without making the AHCI driver
    handle the PATA port. This means a lot of users can't use current
    kernels and in most distro cases can't even install.

    This has been going on since March 2008 for the 6121 Marvell, and late 2007
    for the 6145!!!

    This was all pointed out at the time and repeatedly ignored. Bugs assigned
    to Jeff about this are ignored also.

    To quote Jeff in email

    > "Just switch the order of 'ahci' and 'pata_marvell' in
    > /etc/modprobe.conf, then use Fedora's tools regenerate the initrd.

    > See? It's not rocket science, and the current configuration can be
    > easily made to work for Fedora users."

    (Which isn't trivial, isn't end user, shouldn't be needed, and as it usually
    breaks at install time is in fact impossible)

    To quote Jeff in August 2007

    > " mv-ahci-pata
    > Marvell 6121/6141 PATA support. Needs fixing in the 'PATA controller
    > command' area before it is usable, and can go upstream."

    Only he add the ids anyway later and caused regressions, adding a further
    id in March causing more regresions.

    The actual fix for the moment is very simple. If the user has included
    the pata_marvell driver let it drive the ports. If they've only selected
    for SATA support give them the AHCI driver which will run the port a fraction
    faster. Allow the user to control this decision via ahci.marvell_enable as
    a module parameter so that distributions can ship 'it works' defaults and
    smarter users (or config tools) can then flip it over it desired.

    Signed-off-by: Alan Cox
    Signed-off-by: Jeff Garzik

    Alan Cox
     

07 Sep, 2008

2 commits

  • * 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input:
    Input: i8042 - make Lenovo 3000 N100 blacklist entry more specific
    Input: bcm5974 - add BTN_TOUCH event for mousedev benefit
    Input: bcm5974 - improve finger tracking and counting
    Input: bcm5974 - small formatting cleanup
    Input: bcm5974 - add maintainer entry

    Linus Torvalds
     
  • …el/git/tip/linux-2.6-tip

    * 'timers-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tip/linux-2.6-tip:
    clocksource, acpi_pm.c: check for monotonicity
    clocksource, acpi_pm.c: use proper read function also in errata mode
    ntp: fix calculation of the next jiffie to trigger RTC sync
    x86: HPET: read back compare register before reading counter
    x86: HPET fix moronic 32/64bit thinko
    clockevents: broadcast fixup possible waiters
    HPET: make minimum reprogramming delta useful
    clockevents: prevent endless loop lockup
    clockevents: prevent multiple init/shutdown
    clockevents: enforce reprogram in oneshot setup
    clockevents: prevent endless loop in periodic broadcast handler
    clockevents: prevent clockevent event_handler ending up handler_noop

    Linus Torvalds
     

06 Sep, 2008

9 commits

  • The current check for monotonicity is way too weak: Andreas Mohr reports (
    http://lkml.org/lkml/2008/8/10/77 ) that on one of his test systems the
    current check only triggers in 50% of all cases, leading to catastrophic
    timer behaviour. To fix this issue, expand the check for monotonicity by
    doing ten consecutive tests instead of one.

    Signed-off-by: Dominik Brodowski
    Signed-off-by: Andrew Morton
    Signed-off-by: Ingo Molnar

    Dominik Brodowski
     
  • On all hardware (some Intel ICH4, PIIX4 and PIIX4E chipsets) affected by a
    hardware errata there's about a 4.2% chance that initialization of the
    ACPI PMTMR fails. On those chipsets, we need to read out the timer value
    at least three times to get a correct result, for every once in a while
    (i.e. within a 3 ns window every 69.8 ns) the read returns a bogus
    result. During normal operation we work around this issue, but during
    initialization reading a bogus value may lead to -EINVAL even though the
    hardware is usable.

    Thanks to Andreas Mohr for spotting this issue.

    Signed-off-by: Dominik Brodowski
    Signed-off-by: Andrew Morton
    Signed-off-by: Ingo Molnar

    Dominik Brodowski
     
  • mmc_block_open() increments md->usage although it returns with -EROFS when
    default mounting a MMC/SD card with write protect switch on. This
    reference counting bug prevents /dev/mmcblkX from being released on card
    removal, and situation worsen with reinsertion until the minor number
    range runs out.

    Reported-by:
    Acked-by: Pierre Ossman
    Cc: [2.6.25.x, 2.6.26.x]
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Andrew Morton
     
  • If framebuffer registration failed in platform driver ->probe() callback,
    dev_get_drvdata() points to freed memory region, but ->remove() function
    try to use it and the following oops occurs:

    Unable to handle kernel NULL pointer dereference at virtual address 00000228
    pgd = c3a20000
    [00000228] *pgd=23a2b031, *pte=00000000, *ppte=00000000
    Internal error: Oops: 17 [#1]
    Modules linked in: atmel_lcdfb(-) cfbcopyarea cfbimgblt cfbfillrect [last unloaded: atmel_lcdfb]
    CPU: 0 Not tainted (2.6.27-rc2 #116)
    PC is at atmel_lcdfb_remove+0x14/0xf8 [atmel_lcdfb]
    LR is at platform_drv_remove+0x20/0x24
    pc : [] lr : [] psr: a0000013
    sp : c3a45e84 ip : c3a45ea0 fp : c3a45e9c
    r10: 00000002 r9 : c3a44000 r8 : c0026c04
    r7 : 00000880 r6 : c02bb228 r5 : 00000000 r4 : c02bb230
    r3 : bf007e3c r2 : c02bb230 r1 : 00000004 r0 : c02bb228
    Flags: NzCv IRQs on FIQs on Mode SVC_32 ISA ARM Segment user
    Control: 0005317f Table: 23a20000 DAC: 00000015
    Process rmmod (pid: 6799, stack limit = 0xc3a44260)
    Stack: (0xc3a45e84 to 0xc3a46000)
    5e80: c02bb230 bf007e3c bf007e3c c3a45eac c3a45ea0 c0157d28 bf006bc0
    5ea0: c3a45ec4 c3a45eb0 c0156d20 c0157d18 c02bb230 c02bb2d8 c3a45ee0 c3a45ec8
    5ec0: c0156da8 c0156cb8 bf007e3c bf007ee0 c02c8e14 c3a45efc c3a45ee4 c0156018
    5ee0: c0156d50 bf007e3c bf007ee0 00000000 c3a45f18 c3a45f00 c0157220 c0155f9c
    5f00: 00000000 bf007ee0 bf008000 c3a45f28 c3a45f1c c0157e34 c01571ec c3a45f38
    5f20: c3a45f2c bf006ba8 c0157e30 c3a45fa4 c3a45f3c c005772c bf006ba4 656d7461
    5f40: 636c5f6c 00626664 c004c988 c3a45f80 c3a45f5c 00000000 c3a45fb0 00000000
    5f60: ffffffff becaccd8 00000880 00000000 000a5e80 00000001 bf007ee0 00000880
    5f80: c3a45f84 00000000 becaccd4 00000002 000003df 00000081 00000000 c3a45fa8
    5fa0: c0026a60 c0057584 00000002 000003df 00900081 000a5e80 00000880 00000000
    5fc0: becaccd4 00000002 000003df 00000000 000a5e80 00000001 00000002 0000005f
    5fe0: 4004f5ec becacbe8 0001a158 4004f5fc 20000010 00900081 f9ffbadf 7bbfb2bb
    Backtrace:
    [] (atmel_lcdfb_remove+0x0/0xf8 [atmel_lcdfb]) from [] (platform_drv_remove+0x20/0x24)
    r6:bf007e3c r5:bf007e3c r4:c02bb230
    [] (platform_drv_remove+0x0/0x24) from [] (__device_release_driver+0x78/0x98)
    [] (__device_release_driver+0x0/0x98) from [] (driver_detach+0x68/0x90)
    r5:c02bb2d8 r4:c02bb230
    [] (driver_detach+0x0/0x90) from [] (bus_remove_driver+0x8c/0xb4)
    r6:c02c8e14 r5:bf007ee0 r4:bf007e3c
    [] (bus_remove_driver+0x0/0xb4) from [] (driver_unregister+0x44/0x48)
    r6:00000000 r5:bf007ee0 r4:bf007e3c
    [] (driver_unregister+0x0/0x48) from [] (platform_driver_unregister+0x14/0x18)
    r6:bf008000 r5:bf007ee0 r4:00000000
    [] (platform_driver_unregister+0x0/0x18) from [] (atmel_lcdfb_exit+0x14/0x1c [atmel_lcdfb])
    [] (atmel_lcdfb_exit+0x0/0x1c [atmel_lcdfb]) from [] (sys_delete_module+0x1b8/0x22c)
    [] (sys_delete_module+0x0/0x22c) from [] (ret_fast_syscall+0x0/0x2c)
    r7:00000081 r6:000003df r5:00000002 r4:becaccd4
    Code: e92dd870 e24cb004 e59050c4 e1a06000 (e5954228)
    ---[ end trace 85476b184d9e68d8 ]---

    This patch fixes the oops.

    Signed-off-by: Stanislaw Gruszka
    Acked-by: Nicolas Ferre
    Acked-by: Krzysztof Helt
    Cc: Haavard Skinnemoen
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Stanislaw Gruszka
     
  • Fix regression tracked as http://bugzilla.kernel.org/show_bug.cgi?id=11361
    and caused by commit f735a2a1a4f2a0f5cd823ce323e82675990469e2 ("[netdrvr]
    forcedeth: setup wake-on-lan before shutting down") that makes network
    adapters integrated into the NVidia MCP55 chipsets fail to work in kexeced
    kernels. The problem appears to be that if the adapter is put into D3_hot
    during ->shutdown(), it cannot be brought back into D0 after kexec (ref.
    http://marc.info/?l=linux-kernel&m=121900062814967&w=4). Therefore, only
    put forcedeth into D3 during ->shutdown() if the system is to be powered
    off.

    Signed-off-by: Rafael J. Wysocki
    Tested-by: Yinghai Lu
    Cc: Ayaz Abdulla
    Acked-by: Jeff Garzik
    Signed-off-by: Andrew Morton
    Signed-off-by: Linus Torvalds

    Rafael J. Wysocki
     
  • * git://git.infradead.org/~dwmw2/dwmw2-2.6.27:
    Revert "[ARM] use the new byteorder headers"
    Fix conditional export of kvh.h and a.out.h to userspace.
    [MTD] [NAND] tmio_nand: fix base address programming

    Linus Torvalds
     
  • * 'sh/for-2.6.27' of git://git.kernel.org/pub/scm/linux/kernel/git/lethal/sh-2.6:
    i2c: fix i2c-sh_mobile timing issues
    sh64: resume_kernel fix for kernel oops built with CONFIG_BKL_PREEMPT=y.
    sh: resume_kernel fix for kernel oops built with CONFIG_BKL_PREEMPT=y.
    sh: fix semtimedop syscall
    sh: update AP325RXA defconfig
    sh: update Migo-R defconfig
    sh: fix platform_resource_setup_memory() section mismatch
    sh: fix kexec entry point for crash kernels
    sh: crash kernel resource fix
    sh: fix ptrace_64.c:user_disable_single_step()
    sh64: re-add the __strnlen_user() prototype

    Linus Torvalds
     
  • * 'fixes' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/v4l-dvb: (98 commits)
    V4L/DVB (8881): gspca: After 'while (retry--) {...}', retry will be -1 but not 0.
    V4L/DVB (8880): PATCH: Fix parents on some webcam drivers
    V4L/DVB (8877): b2c2 and bt8xx: udelay to mdelay
    V4L/DVB (8876): budget: udelay changed to mdelay
    V4L/DVB (8874): gspca: Adjust hstart for sn9c103/ov7630 and update usb-id's.
    V4L/DVB (8873): gspca: Bad image offset with rev012a of spca561 and adjust exposure.
    V4L/DVB (8872): gspca: Bad image format and offset with rev072a of spca561.
    V4L/DVB (8870): gspca: Fix dark room problem with sonixb.
    V4L/DVB (8869): gspca: Move the Sonix webcams with TAS5110C1B from sn9c102 to gspca.
    V4L/DVB (8868): gspca: Support for vga modes with sif sensors in sonixb.
    V4L/DVB (8844): dabusb_fpga_download(): fix a memory leak
    V4L/DVB (8843): tda10048_firmware_upload(): fix a memory leak
    V4L/DVB (8842): vivi_release(): fix use-after-free
    V4L/DVB (8840): dib0700: add basic support for Hauppauge Nova-TD-500 (84xxx)
    V4L/DVB (8839): dib0700: add comment to identify 35th USB id pair
    V4L/DVB (8837): dvb: fix I2C adapters name size
    V4L/DVB (8835): gspca: Same pixfmt as the sn9c102 driver and raw Bayer added in sonixb.
    V4L/DVB (8834): gspca: Have a bigger buffer for sn9c10x compressed images.
    V4L/DVB (8833): gspca: Cleanup the sonixb code.
    V4L/DVB (8832): gspca: Bad pixelformat of vc0321 webcams.
    ...

    Linus Torvalds
     
  • * 'release-2.6.27' of git://git.kernel.org/pub/scm/linux/kernel/git/ak/linux-acpi-2.6:
    acer-wmi: remove debugfs entries upon unloading
    ACPI: Avoid bogus timeout about SMbus check
    fujitsu-laptop: fix regression for P8010 in 2.6.27-rc
    ACPI: Make Len Brown the ACPI maintainer again
    ACPI: thinkpad-acpi: wan radio control is not experimental
    PNPACPI: ignore the producer/consumer bit for extended IRQ descriptors
    acpi: add checking for NULL early param
    ACPI: Fix typo in "Disable MWAIT via DMI on broken Compal board"
    ACPI: Fix now signed module parameter.
    ACPI: Change package length error to warning
    ACPI: Fix now signed module parameter.

    Linus Torvalds
     

05 Sep, 2008

10 commits

  • Fix offset of second word used for programming base address of memory
    window. Also program tmio with offset of the FCR, not with physical
    memory location.

    Signed-off-by: Dmitry Baryshkov
    Cc: Ian Molton
    Signed-off-by: David Woodhouse

    Dmitry Baryshkov
     
  • This patch teaches the i2c-sh_mobile driver to make use of wait irqs.
    Without this patch only dte irqs are used which may lead to overruns
    and cases of missing stop and extra bytes being read on the i2c bus.

    Use of wait irqs forces the hardware to pause and wait until the cpu
    is ready. Polling is also reworked in this patch to fix ms delay issues.

    Verified with bus analyzer and tested on MigoR and AP325RXA boards.

    Signed-off-by: Magnus Damm
    Signed-off-by: Paul Mundt

    Magnus Damm
     
  • Apparently, there are more different versions of Lenovo 3000 N100, some
    of them working properly with active mux, and some of them requiring it
    being switched off.

    This patch applies 'nomux' only to the specific product name that is
    reported to behave badly unless 'nomux' is specified.

    Signed-off-by: Jiri Kosina
    Signed-off-by: Dmitry Torokhov

    Jiri Kosina
     
  • The mousedev driver requires the use of BTN_TOUCH events to process
    ABS_X and ABS_Y events properly, which is what is needed for the
    bcm5974-based apple computers to have a functional pointer out-of-the-box.

    Signed-off-by: Henrik Rydberg
    Signed-off-by: Dmitry Torokhov

    Henrik Rydberg
     
  • The problem of finger tracking, i.e., when to switch focus from one
    finger to another on the trackpad, has been improved by utilizing more
    information from the bcm5974 chip output. This results in less pointer
    hopping when many fingers are on the trackpad. In addition, a finger
    counting method based on pressure information from all fingers is
    introduced. Together with a pressure hysteresis window, this yields a
    more stable counting of the number of fingers on the trackpad.

    Signed-off-by: Henrik Rydberg
    Signed-off-by: Dmitry Torokhov

    Henrik Rydberg
     
  • Signed-off-by: Henrik Rydberg
    Signed-off-by: Dmitry Torokhov

    Henrik Rydberg
     
  • Signed-off-by: Li Zefan
    Signed-off-by: Jean-Francois Moine
    Signed-off-by: Mauro Carvalho Chehab

    Li Zefan
     
  • While doing some testing using Luca Risolia's sonix driver I noticed that
    the video device did not get ACL's set to allow access by locally logged in
    users, nor does it show up as a video device in lshal, causing cheese to not
    see it.

    This turns out to be caused by all of Luca Risolia's drivers not setting
    the parent member of the video_device struct. This patch fixes this.

    Cc: Luca Risolia
    Signed-off-by: Hans de Goede
    Signed-off-by: Mauro Carvalho Chehab

    Hans de Goede
     
  • b2c2-flexcop, dvb/bt8xx and video/bt8xx fails to build on ARM with:

    __bad_udelay is specifically designed on ARM to fail when udelay is
    called in a bad way. arch/arm/include/asm/delay.h has this to say
    about __bad_udelay:

    /*
    * This function intentionally does not exist; if you see references to
    * it, it means that you're calling udelay() with an out of range value.
    *
    * With currently imposed limits, this means that we support a max delay
    * of 2000us. Further limits: HZ
    Signed-off-by: Mauro Carvalho Chehab

    Thierry MERLE
     
  • budget.ko fails to build on ARM with:

    ERROR: "__bad_udelay" [drivers/media/dvb/ttpci/budget.ko] undefined!
    make[1]: *** [__modpost] Error 1

    __bad_udelay is specifically designed on ARM to fail when udelay is
    called in a bad way. arch/arm/include/asm/delay.h has this to say
    about __bad_udelay:

    /*
    * This function intentionally does not exist; if you see references to
    * it, it means that you're calling udelay() with an out of range value.
    *
    * With currently imposed limits, this means that we support a max delay
    * of 2000us. Further limits: HZ
    Signed-off-by: Thierry MERLE
    Signed-off-by: Mauro Carvalho Chehab

    Thierry MERLE