07 Apr, 2009
40 commits
-
If ramfs mount fails, s_fs_info will be freed twice in ramfs_fill_super()
and ramfs_kill_sb(), leading to kernel oops.Consolidate and beautify the code.
Make sure s_fs_info and s_root are in known good states.Acked-by: Wu Fengguang
Signed-off-by: Ingo Molnar
Signed-off-by: Linus Torvalds -
* 'for_linus' of git://git.kernel.org/pub/scm/linux/kernel/git/mchehab/linux-2.6: (120 commits)
cx231xx: Convert to snd_card_create()
V4L/DVB (11440): PWC: fix build error when CONFIG_INPUT=m
V4L/DVB (11439): UVC: uvc_status_cleanup(): undefined reference to `input_unregister_device'
V4L/DVB (11438): au0828: fix Kconfig dependance
V4L/DVB (11437): pvrusb2: Drop client_register/unregister stubs
V4L/DVB (11436): radio-mr800: convert to to v4l2_device
V4L/DVB (11435): dsbr100 radio: convert to to v4l2_device
V4L/DVB: zr364xx: remove unused #include
V4L/DVB: usbvision: remove unused #include
V4L/DVB (11427): gspca - m5602: Minor cleanups
V4L/DVB (11426): gspca - m5602: Don't touch hflip/vflip register on Read/Modify/Write
V4L/DVB (11425): gspca - m5602: Move the vflip quirk to probe stage.
V4L/DVB (11424): gspca - m5602-ov9650: Use the local ctrl cache. Adjust image on vflip.
V4L/DVB (11423): gspca - m5602-ov9650: Add a disconnect hook, setup a ctrl cache ctrl.
V4L/DVB (11422): gspca - m5602-ov9650: Replace a magic constant with a define
V4L/DVB (11421): gspca - m5602-ov9650: Synthesize modesetting.
V4L/DVB (11420): gspca - m5602: Improve error handling in the ov9650 driver
V4L/DVB (11419): gspca - m5602-ov9650: Don't read exposure data from COM1.
V4L/DVB (11418): gspca - m5602-ov9650: Auto white balancing is on by default
V4L/DVB (11417): gspca - m5602-ov9650: Autogain is on by default
... -
* git://git.kernel.org/pub/scm/linux/kernel/git/davem/net-2.6:
b44: Use kernel DMA addresses for the kernel DMA API
forcedeth: Fix resume from hibernation regression.
xfrm: fix fragmentation on inter family tunnels
ibm_newemac: Fix dangerous struct assumption
gigaset: documentation update
gigaset: in file ops, check for device disconnect before anything else
bas_gigaset: use tasklet_hi_schedule for timing critical tasklets
net/802/fddi.c: add MODULE_LICENSE
smsc911x: remove unused #include
axnet_cs: fix phy_id detection for bogus Asix chip.
bnx2: Use request_firmware()
b44: Fix sizes passed to b44_sync_dma_desc_for_{device,cpu}()
socket: use percpu_add() while updating sockets_in_use
virtio_net: Set the mac config only when VIRITO_NET_F_MAC
myri_sbus: use request_firmware
e1000: fix loss of multicast packets
vxge: should include tcp.hConflict in firmware/WHENCE (SCSI vs net firmware)
-
We must not use the device DMA addresses for the kernel DMA API, because
device DMA addresses have an additional offset added for the SSB translation.Use the original dma_addr_t for the sync operation.
Cc: stable@kernel.org
Signed-off-by: Michael Buesch
Signed-off-by: David S. Miller -
Reset phy state on resume, fixing a regression caused by powering down
the phy on hibernate.Signed-off-by: Ed Swierk
Signed-off-by: David S. Miller -
Convert from snd_card_new() to the new snd_card_create() function.
Signed-off-by: Mauro Carvalho Chehab
-
Fix build errors when USB_PWC=y and INPUT=m.
Signed-off-by: Randy Dunlap
Acked-by: Laurent Pinchart
Signed-off-by: Mauro Carvalho Chehab -
Fix build errors when USB_VIDEO_CLASS=y and INPUT=m.
Fixes kernel bugzilla #12671.Signed-off-by: Randy Dunlap
Acked-by: Laurent Pinchart
Signed-off-by: Mauro Carvalho Chehab -
Fix this build error:
ERROR: "videobuf_queue_vmalloc_init" [drivers/media/video/au0828/au0828.ko] undefined!
ERROR: "videobuf_vmalloc_free" [drivers/media/video/au0828/au0828.ko] undefined!
ERROR: "videobuf_to_vmalloc" [drivers/media/video/au0828/au0828.ko] undefined!Signed-off-by: Alexander Beregalov
Signed-off-by: Mauro Carvalho Chehab -
The client_register and client_unregister methods are optional so
there is no point in defining stub ones. Especially when these methods
are likely to be removed soon.Signed-off-by: Jean Delvare
Acked-by: Mike Isely
Signed-off-by: Mauro Carvalho Chehab -
radio-mr800: convert to to v4l2_device.
Signed-off-by: Alexey Klimov
Signed-off-by: Mauro Carvalho Chehab -
dsbr100: convert to v4l2_device.
Signed-off-by: Alexey Klimov
Signed-off-by: Mauro Carvalho Chehab -
Remove unused #include in drivers/media/video/zr364xx.c.
Signed-off-by: Huang Weiyi
Signed-off-by: Mauro Carvalho Chehab -
Remove unused #include in
drivers/media/video/usbvision/usbvision-i2c.c.Signed-off-by: Huang Weiyi
Signed-off-by: Mauro Carvalho Chehab -
Remove an unnecessary error check and reorder some code.
Signed-off-by: Erik Andr?n
Signed-off-by: Mauro Carvalho Chehab -
Touching the hflip/vflip register while doing the read/modify/write corrupts the image. Just read from the sensor ctrl cache instead and all is good.
Signed-off-by: Erik Andr?n
Signed-off-by: Mauro Carvalho Chehab -
The vflip quirk is better checked at probe time as it's only needed once.
Also add an extra reset at init time to resolve a suspend to ram regression.Signed-off-by: Erik Andr?n
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Erik Andr?n
Signed-off-by: Mauro Carvalho Chehab -
Reading and writing to a register doesn't always work reliably. Add a cache
and ensure that it is deallocated properly upon module disconnect.Signed-off-by: Erik Andr?n
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Erik Andr?n
Signed-off-by: Mauro Carvalho Chehab -
Previously all resolution setting was done with precalculated tables.
When the image is vflipped we need to adjust the alignment which would
require another table. Now we can adjust the parameters on the fly instead.Signed-off-by: Erik Andr?n
Signed-off-by: Mauro Carvalho Chehab -
Some errors were not propagated properly.
Signed-off-by: Erik Andrén
Signed-off-by: Mauro Carvalho Chehab -
ov9650: Reading the COM1 register corrupts the image.
Decrease the granularity of the exposure and limit its upper range
as setting such high values doesn't have any effect on the image.Signed-off-by: Erik Andr?n
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Erik Andr?n
Signed-off-by: Mauro Carvalho Chehab -
Autogain is on by default, properly set the default value in the v4l2 ctrl.
Signed-off-by: Erik Andr?n
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Erik Andrén
Signed-off-by: Mauro Carvalho Chehab -
Remove an unused sd struct member. Remove a redundant define while we're at it.
Signed-off-by: Erik Andrén
Signed-off-by: Mauro Carvalho Chehab -
Move over the v4l2 controls to the sensor specific source file.
Remove the now redundant sensor struct member.Signed-off-by: Erik Andrén
Signed-off-by: Mauro Carvalho Chehab -
By separating the supported for each sensor into a separate vector we can
eliminate the nmodes variable and instead calculate it at runtime.Signed-off-by: Erik Andr?n
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Erik Andrén
Signed-off-by: Mauro Carvalho Chehab -
Previously, all sensors allocated a part of a large ctrl vector.
Define this vector separately for each sensor instead.Signed-off-by: Erik Andrén
Signed-off-by: Mauro Carvalho Chehab -
This is a hack preventing a suspend-to-ram/disk regression.
Signed-off-by: Erik Andrén
Signed-off-by: Mauro Carvalho Chehab -
In order to save energy, put the sensor in soft sleep mode when not active
Signed-off-by: Erik Andrén
Signed-off-by: Mauro Carvalho Chehab -
This patch toggles the led seen on many laptops having a m5602 connected
to a Samsung s5k83a sensor.Signed-off-by: Lukas Karas
Signed-off-by: Erik Andr?n
Signed-off-by: Mauro Carvalho Chehab -
Cleans some unnecessary temporary variable usage in the ov9650 start function.
Signed-off-by: Erik Andr?n
Signed-off-by: Mauro Carvalho Chehab -
Adds QCIF support for the ov9650 sensor
Signed-off-by: Erik Andr?n
Signed-off-by: Mauro Carvalho Chehab -
Simplfy error handling by replacing goto statements with return equivalents.
Signed-off-by: Erik Andr?n
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Erik Andr?n
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Erik Andr?n
Signed-off-by: Mauro Carvalho Chehab -
Signed-off-by: Jean-Francois Moine
Signed-off-by: Mauro Carvalho Chehab