01 Oct, 2009
1 commit
-
Signed-off-by: Maxime Bizon
Reviewed-by: Wolfram Sang
Signed-off-by: Ralf Baechle
29 Sep, 2009
2 commits
-
Since 2.6.29 the PCI PM core have been restoring the standard
configuration registers of PCI devices in the early phase of
resume. In particular, PCI devices without drivers have been handled
this way since commit 355a72d75b3b4f4877db4c9070c798238028ecb5
(PCI: Rework default handling of suspend and resume). Unfortunately,
this leads to post-resume problems with CardBus devices which cannot
be accessed in the early phase of resume, because the sockets they
are on have not been woken up yet at that point.To solve this problem, move the yenta socket resume to the early
phase of resume and, analogously, move the suspend of it to the late
phase of suspend. Additionally, remove some unnecessary PCI code
from the yenta socket's resume routine.Fixes http://bugzilla.kernel.org/show_bug.cgi?id=13092, which is a
post-2.6.28 regression.Signed-off-by: Rafael J. Wysocki
Reported-by: Florian
Cc: stable@kernel.org -
pcmcia_socket_dev_suspend() doesn't use its second argument, so it
may be dropped safely.This change is necessary for the subsequent yenta suspend/resume fix.
Signed-off-by: Rafael J. Wysocki
Cc: stable@kernel.org
25 Sep, 2009
1 commit
-
Conflicts:
MAINTAINERS
23 Sep, 2009
1 commit
22 Sep, 2009
3 commits
-
Clean up the /drivers/pcmcia/sa1100_jornada.c file with respect to
formatting. It also changes a build warning into a code comment (since
its a pain to watch every build and havent seen any problems with driver
in 3.5years).Signed-off-by: Kristoffer Ericson
Cc: Dominik Brodowski
Cc: Greg KH
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
Signed-off-by: Alexey Dobriyan
Cc: Dominik Brodowski
Cc: Greg KH
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds -
The remove member of the pci_driver yenta_cardbus_driver uses
__devexit_p(), so the remove function itself should be marked with
__devexit. Even more so considering the probe function is marked with
__devinit.Signed-off-by: Mike Frysinger
Cc: Daniel Ritz
Cc: Dominik Brodowski
Cc: Greg KH
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
16 Sep, 2009
7 commits
-
* git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/pcmcia-2.6:
pcmcia: document return value of pcmcia_loop_config
pcmcia: dtl1_cs: fix pcmcia_loop_config logic
pcmcia: drop non-existant includes
pcmcia: disable prefetch/burst for OZ6933
pcmcia: fix incorrect argument order to list_add_tail()
pcmcia: drivers/pcmcia/pcmcia_resource.c: Remove unnecessary semicolons
pcmcia: Use phys_addr_t for physical addresses
pcmcia: drivers/pcmcia: Make static -
Hopefully it will be harder to get it wrong now. Also fix an unneeded
initialization while we are here.Signed-off-by: Wolfram Sang
Signed-off-by: Greg Kroah-Hartman -
See http://lists.infradead.org/pipermail/linux-pcmcia/2009-April/006109.html
Reported-by: Robert P. J. Day
Signed-off-by: Wolfram Sang
Signed-off-by: Greg Kroah-Hartman -
Problems have been reported [1], so disable prefetch/burst, to be on the safe
side.[1] http://www.mail-archive.com/linux-pcmcia@lists.infradead.org/msg02048.html
Signed-off-by: Tomáš Kováčik
Signed-off-by: Wolfram Sang
Signed-off-by: Greg Kroah-Hartman -
Commit a56bc69a182f501582557af7fad5bc882b1c856c fixed a wrong usage of
list_add_tail() within store_new_id() for PCI. Port the fix to PCMCIA,
which adapted this function from PCI.Signed-off-by: Wolfram Sang
Cc: Dominik Brodowski
Cc: Greg Kroah-Hartman -
Signed-off-by: Joe Perches
Signed-off-by: Wolfram Sang
Signed-off-by: Greg Kroah-Hartman -
Sparse asked whether these could be static.
Signed-off-by: Roel Kluin
Signed-off-by: Wolfram Sang
Signed-off-by: Greg Kroah-Hartman
10 Sep, 2009
4 commits
-
Signed-off-by: Mike Rapoport
Signed-off-by: Eric Miao -
This 'problem' actually cant cause a failure of the driver, but it's always
better to be correct.Signed-off-by: Marek Vasut
Signed-off-by: Eric Miao -
This patch adds support for PCMCIA socket found in Palm Tungsten|C.
There is Prism3 based WiFi card hardwired to that socket.Signed-off-by: Marek Vasut
Signed-off-by: Eric Miao -
Instead of open-coding pci_find_parent_resource and request_resource,
just call pci_claim_resource.Signed-off-by: Matthew Wilcox
Signed-off-by: Jesse Barnes
09 Jul, 2009
1 commit
-
Commit 5fd29d6ccbc98884569d6f3105aeca70858b3e0f ("printk: clean up
handling of log-levels and newlines") changed printk semantics. printk
lines with multiple KERN_ prefixes are no longer emitted as
before the patch.is now included in the output on each additional use.
Remove all uses of multiple KERN_s in formats.
Signed-off-by: Joe Perches
Signed-off-by: Linus Torvalds
03 Jul, 2009
1 commit
-
Signed-off-by: Yoichi Yuasa
Signed-off-by: Ralf Baechle
17 Jun, 2009
2 commits
-
* akpm: (182 commits)
fbdev: bf54x-lq043fb: use kzalloc over kmalloc/memset
fbdev: *bfin*: fix __dev{init,exit} markings
fbdev: *bfin*: drop unnecessary calls to memset
fbdev: bfin-t350mcqb-fb: drop unused local variables
fbdev: blackfin has __raw I/O accessors, so use them in fb.h
fbdev: s1d13xxxfb: add accelerated bitblt functions
tcx: use standard fields for framebuffer physical address and length
fbdev: add support for handoff from firmware to hw framebuffers
intelfb: fix a bug when changing video timing
fbdev: use framebuffer_release() for freeing fb_info structures
radeon: P2G2CLK_ALWAYS_ONb tested twice, should 2nd be P2G2CLK_DAC_ALWAYS_ONb?
s3c-fb: CPUFREQ frequency scaling support
s3c-fb: fix resource releasing on error during probing
carminefb: fix possible access beyond end of carmine_modedb[]
acornfb: remove fb_mmap function
mb862xxfb: use CONFIG_OF instead of CONFIG_PPC_OF
mb862xxfb: restrict compliation of platform driver to PPC
Samsung SoC Framebuffer driver: add Alpha Channel support
atmel-lcdc: fix pixclock upper bound detection
offb: use framebuffer_alloc() to allocate fb_info struct
...Manually fix up conflicts due to kmemcheck in mm/slab.c
-
There are some places to be able to use printk_once instead of hard coding.
Signed-off-by: Minchan Kim
Cc: Dominik Brodowski
Cc: David S. Miller
Cc: Ingo Molnar
Cc: KOSAKI Motohiro
Signed-off-by: Andrew Morton
Signed-off-by: Linus Torvalds
16 Jun, 2009
2 commits
-
In the near future, the driver core is going to not allow direct access
to the driver_data pointer in struct device. Instead, the functions
dev_get_drvdata() and dev_set_drvdata() should be used. These functions
have been around since the beginning, so are backwards compatible with
all older kernel versions.Cc: linux-pcmcia@lists.infradead.org
Cc: Dominik Brodowski
Signed-off-by: Greg Kroah-Hartman -
We're going to remove the FIRMWARE_NAME_MAX definition in order to avoid any
firmware name length restriction.
With the FIRMWARE_NAME_MAX removal, the ds.c reference becomes useless as we
dont need to check for the firmware name length anymore.Signed-off-by: Samuel Ortiz
Cc: Dominik Brodowski
Signed-off-by: Greg Kroah-Hartman
05 Jun, 2009
1 commit
-
Signed-off-by: Jonathan Cameron
Signed-off-by: Eric Miao
24 Apr, 2009
1 commit
-
Check if we really have Scoop config, otherwice we can get a nice Oops
during probe.Signed-off-by: Dmitry Eremin-Solenikov
Signed-off-by: Russell King
02 Apr, 2009
1 commit
-
fix reverse RDY gpios in PCMCIA driver
Signed-off-by: Mike Rapoport
Signed-off-by: Russell King
29 Mar, 2009
1 commit
-
Conflicts:
sound/soc/pxa/pxa2xx-i2s.c
28 Mar, 2009
2 commits
-
…-linux-2.6 into devel
-
Signed-off-by: Marek Vasut
Signed-off-by: Eric Miao
25 Mar, 2009
3 commits
-
Signed-off-by: Russell King
-
This patch fixes the bug reported in
http://bugzilla.kernel.org/show_bug.cgi?id=11681."Lots of device drivers register a 'struct device_driver' with
the '.bus' member set to '&platform_bus_type'. This is wrong,
since the platform_bus functions expect the 'struct device_driver'
to be wrapped up in a 'struct platform_driver' which provides
some additional callbacks (like suspend_late, resume_early).
The effect may be that platform_suspend_late() uses bogus data
outside the device_driver struct as a pointer pointer to the
device driver's suspend_late() function or other hard to
reproduce failures."(Lothar Wassmann)Signed-off-by: Ming Lei
Acked-by: Henrique de Moraes Holschuh
Acked-by: David Brownell
Signed-off-by: Greg Kroah-Hartman -
Cc: Dominik Brodowski
Cc: linux-pcmcia@lists.infradead.org
Acked-by: Greg Kroah-Hartman
Signed-off-by: Kay Sievers
16 Mar, 2009
1 commit
-
Replace all occurences with assign_h3600_egpio.
Also simplify code a bit by replacing couple of if-else
statements with one-line equivalents.Signed-off-by: Dmitry Artamonow
Signed-off-by: Russell King
09 Mar, 2009
3 commits
-
The definitions of PXA_CS_PHYS are really PXA2xx specific and should
be moved out of pxa-regs.h. As an illustration, the PXA3xx static chip
selects definitions are added into pxa3xx-regs.h.Signed-off-by: Eric Miao
-
Move the processor specific initialization (largely resources initialization)
out of soc_common_drv_pcmcia_probe() into dedicated sa11xx_drv_pcmcia_probe()
and __pxa2xx_drv_pcmcia_probe().By doing this, we are now able to move the PCMCIA related definitions out of
pxa-regs.h and back into pxa2xx_base.c.As a result, remove that reference of _PCMCIA1IO in arch/arm/mach-pxa/viper.c.
Signed-off-by: Eric Miao
-
pxa-regs.h and hardware.h are not intended for use directly in driver
code, remove those unnecessary references.Signed-off-by: Eric Miao
13 Jan, 2009
1 commit
-
Convert arch/powerpc/ over to long long based u64:
-#ifdef __powerpc64__
-# include
-#else
-# include
-#endif
+#includeThis will avoid reoccuring spurious warnings in core kernel code that
comes when people test on their own hardware. (i.e. x86 in ~98% of the
cases) This is what x86 uses and it generally helps keep 64-bit code
32-bit clean too.[Adjusted to not impact user mode (from paulus) - sfr]
Signed-off-by: Ingo Molnar
Signed-off-by: Stephen Rothwell
Signed-off-by: Benjamin Herrenschmidt
18 Dec, 2008
1 commit