30 Jul, 2006
20 commits
-
A patch from Aug, 17 activated by mistake OVERLAY flag on cx88-video,
together with several cx88-blackbird cleanups. This makes the cx88 driver
to report:
/dev/video0 [v4l2]: ioctl VIDIOC_G_FBUF: Invalid argument
instead of:
/dev/video0 [v4l2]: no overlay supportSigned-off-by: Mauro Carvalho Chehab
-
Signed-off-by: Mauro Carvalho Chehab
-
Removed usage of HAVE_V4L1
Including videodev.h will just include videodev2.h if V4L1 is not supported
V4L1 code at core drivers will honor CONFIG_V4L1_COMPAT stuffSigned-off-by: Mauro Carvalho Chehab
-
video_code size is 24 on i386 and 32 on x86_64, so a proper handling is needed
on compat_ioctl32 to fix it.
This code should be tested, since just *a few* boards use this ioctl.Signed-off-by: Mauro Carvalho Chehab
-
Trent Piepho pointed out that the pll test i2c transmission is slightly
wrong; it was transmitting a zero length message, and then reading from the
PLL. This was wrong; it should only be transmitting a single read i2c message.Signed-off-by: Andrew de Quincey
Signed-off-by: Mauro Carvalho Chehab -
Supplying a NULL i2c adapter to dvb_pll_attach is allowed, for example with
mt352 demods. However, the pll i2c probe will segfault because it does not
check for this.Signed-off-by: Andrew de Quincey
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Mike Isely
Signed-off-by: Mauro Carvalho Chehab -
Fix bug reported by Andrew de Quincey:
After cold boot the saa7146 DMA did not start if the demuxer was opened
before the frontend has locked to the signal.
DMA transfers will be started now if (and only if)
the frontend is locked and data should be sent to the demuxer.Signed-off-by: Oliver Endriss
Signed-off-by: Mauro Carvalho Chehab -
Check __must_check warnings for class_device_register and class_device_create_file
video_device_create_file was declared as a void, but instead should
return the int value of class_device_create_file.Move the check from bttv-driver.c into v4l2-dev.h, because all other
callers of video_device_create_file must also be checked.Replace the call to class_device_create_file in videodev.c with
video_device_create_file, as defined in v4l2-dev.h, so that the
return value of class_device_create_file will be checked.Check the return value of class_device_register in videodev.c and
pvrusb2-sysfs.cSigned-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
With the LG H06xF tuners, an auxiliary byte must be sent after the
standard four-byte i2c sequence. The code that does this is currently in
the wrong place, causing random bytes to be written to the tuner over
i2c in the set_type function.
This patch moves this code from set_type to default_set_tv_freq.Signed-off-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab -
Fix keycode calculations (all codes for this remote were wrong due to a
lost + sign)Signed-off-by: Ricardo Cerqueira
Signed-off-by: Mauro Carvalho Chehab -
Two different exports with the same name are not a good idea:
$ grep -r EXPORT_SYMBOL\(dmasound_init\) *
drivers/media/video/saa7134/saa7134-core.c:EXPORT_SYMBOL(dmasound_init);
sound/oss/dmasound/dmasound_core.c:EXPORT_SYMBOL(dmasound_init);
$
This patch renames the saa7134 dmasound_{init,exit} to
saa7134_dmasound_{init,exit}.Signed-off-by: Adrian Bunk
Signed-off-by: Mauro Carvalho Chehab -
This patch just sets the option noninterlaced to 1 by default since
it has no known disadvantages. It is still possibe to get the old
behaviour by setting noninterlaced=0.Signed-off-by: Hartmut Hackmann
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Randy Dunlap
Signed-off-by: Mauro Carvalho Chehab -
To prevent autoloading of the driver, as it then conflicts with every other
saa7146 device in existence.Signed-off-by: Andrew de Quincey
Signed-off-by: Mauro Carvalho Chehab -
Fix typo in comment for TDA9819
Signed-off-by: Marco Schluessler
Signed-off-by: Andrew de Quincey
Signed-off-by: Mauro Carvalho Chehab -
It was pointed out on the mailing list that this PLL definition is broken. I
went back to the original dibusb driver and confirmed it used to use these
settings, as well as consulting the datasheet.Signed-off-by: Andrew de Quincey
Signed-off-by: Mauro Carvalho Chehab -
Use the stv0299 native DISEQC implementation instead of the bitbanging one
as required by the ves1893. This was originally found by Oliver Endriss.Signed-off-by: Andrew de Quincey
Signed-off-by: Oliver Endriss
Signed-off-by: Mauro Carvalho Chehab -
The changes to add frontend reinitialisation moved the position where the
init() op is called into the frontend thread. Unfortunately, since DISEQC
operations do not use the frontend thread, this meant that DISEQC could be
called against an uninitalised frontend, leading to all sorts of trouble.
Patch fixes this by reinstating the original fronted intialisation call.Signed-off-by: Andrew de Quincey
Signed-off-by: Mauro Carvalho Chehab -
Some cards have multiple possible addresses for their PLLs, with no other
way to tell if a PLL is present or not apart from probing to see if an i2c
device is present. This adds a quick check to see if an i2c device is
present at the given i2c address.Signed-off-by: Andrew de Quincey
Acked-by: Michael Krufky
Signed-off-by: Mauro Carvalho Chehab
29 Jul, 2006
8 commits
-
* 'upstream-linus' of master.kernel.org:/pub/scm/linux/kernel/git/jgarzik/libata-dev:
[libata] sata_promise: comment out duplicate PCI ID
[PATCH] libata: improve EH action and EHI flag handling
[PATCH] libata: fix eh_skip_recovery condition
[PATCH] libata: fix autopsy ehc->i.action and ehc->i.dev handling -
…6 into upstream-fixes
-
Okay, Fix both typo's in one patch .The impact is that the incorrect value
was being computed for blinking LED and interrupt moderation values.Signed-off-by: Stephen Hemminger
Signed-off-by: Jeff Garzik -
Always do a dummy RDMA after loading the firmware to work around
buggy PCIe chipsets which do not implement resending properly.
This is so cheap as to be almost free, and should never have been
conditional on the tx boundary != 4096.Signed-off-by: Brice Goglin
Signed-off-by: Jeff Garzik -
…inville/wireless-2.6 into upstream-fixes
-
* 'for-linus' of git://git390.osdl.marist.edu/pub/scm/linux-2.6:
[S390] update default configuration
[S390] duplicate ccw devices in ccwgroup.
[S390] permanent subchannel busy conditions may cause I/O stall -
* master.kernel.org:/pub/scm/linux/kernel/git/davem/sparc-2.6:
[SUNLANCE]: fix compilation on sparc-UP
[SPARC]: Defer clock_probe to fs_initcall()
[SPARC64]: Fix typo in pgprot_noncached().
[SPARC64]: Fix quad-float multiply emulation.
28 Jul, 2006
9 commits
-
Signed-off-by: Alexey Dobriyan
Signed-off-by: David S. Miller -
HAL and friends have a tendency to trigger this one all the time.
It's not really interesting, so kill it. The vendor kernels all do
anyways.Signed-off-by: Jens Axboe
-
Only enable dma for a valid speed setting.
Signed-off-by: Jens Axboe
-
It's the safer choice. Originally due to a bug in itx821x, but a
generally sound thing to do.Signed-off-by: Jens Axboe
-
Some drives claim they support cache flushing, but get seriously
confused if you try. Add this option to be able to boot with
barriers enabled by default.Signed-off-by: Jens Axboe
-
When determining whether there's a key to set or not, orinoco should be
looking at the key length, not the key data. Otherwise confusion reigns
when trying to set TX key only, passing in zero-length key, but non-NULL
pointer. Key length takes precedence over non-NULL key data.Signed-off-by: Dan Williams
Signed-off-by: John W. Linville -
Johann Uhrmann reported a bcm43xx crash and Michael Buesch tracked
it down to a problem with the new shared key auth code (recursive
calls into the driver)This patch (effectively Michael's patch with a couple of small
modifications) solves the problem by sending the authentication
challenge response frame from a workqueue entry.I also removed a lone \n from the bcm43xx messages relating to
authentication mode - this small change was previously discussed but
not patched in.Signed-off-by: Daniel Drake
Acked-by: Johannes Berg
Signed-off-by: Michael Buesch
Signed-off-by: John W. Linville -
The driver airo (for Cisco Wlan-Cards) complains about "failed to load
transform for AES", when it is loaded and CRYPTO_AES is not selected
in Kconfig.Signed-off-by: John W. Linville
-
zd1201 has nasty tendency to emit magicall anti-wifi cloud when it is
inserted into slot, but not used.Signed-off-by: Pavel Machek
Signed-off-by: John W. Linville
27 Jul, 2006
2 commits
-
Fail to create a ccwgroup device if a ccw device is passed in twice.
Signed-off-by: Cornelia Huck
Signed-off-by: Martin Schwidefsky -
In special conditions where a subchannel rejects the HALT I/O-
instruction with a busy indication (cc 2), I/O may stall.
I/O request termination logic retries HALT I/O indefinitely
because it expects HALT I/O to alter the subchannel status which
is not true when cc 2 is returned.
In case of a busy indication, try CLEAR I/O instruction immediately.Signed-off-by: Peter Oberparleiter
Signed-off-by: Martin Schwidefsky
26 Jul, 2006
1 commit
-
This fixes three drivers to compile again after my patch that removes
the data_cmnd member from struct scsi_cmnd.The fas216 change is trivial, it should have been using ->cmnd all the
time.NCR53C9 (which seem to be mostly duplicate driver with esp.c!) is doing
something odd, it should only have looked at ->cmnd before not the saved
copy that is kept for the error handlers sake. Note that it really
should deal with the sync setting themselves but use the generic domain
validation code that get this right - but that's for later let's push
this simple compile fix for now.And sorry for the late fix for this, I have been busy with OLS and
associated activities last week.Signed-off-by: Christoph Hellwig
Signed-off-by: Linus Torvalds