12 years ago[ALSA] hda-codec - Add model for HP q965
Takashi Iwai [Tue, 24 Oct 2006 12:57:52 +0000]
[ALSA] hda-codec - Add model for HP q965

Added a model entry (HP_BPC) for HP q965 with ALC262 codec.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>

12 years ago[ALSA] pcm core: fix silence_start calculations
Clemens Ladisch [Mon, 23 Oct 2006 14:26:57 +0000]
[ALSA] pcm core: fix silence_start calculations

The case where silence_size < boundary was broken because different
parts of the snd_pcm_playback_silence() function disagreed about whether
silence_start should point to the start or to the end of the buffer part
to be silenced.
This patch changes the code to always use to the start, which also
simplifies several calculations.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>

12 years ago[ALSA] hda-codec - Fix a typo
Takashi Iwai [Tue, 17 Oct 2006 18:41:38 +0000]
[ALSA] hda-codec - Fix a typo

Fixed a typo in proc file.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>

12 years ago[ALSA] hdsp: precise_ptr control switched off by default
Remy Bruno [Mon, 16 Oct 2006 10:32:53 +0000]
[ALSA] hdsp: precise_ptr control switched off by default

precise_ptr option causes dysfunction with hdsp driver.
Turn it off as default.

Signed-off-by: Remy Bruno <remy.bruno@trinnov.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>

12 years ago[ALSA] hda-codec - Don't return error at initialization of modem codec
Takashi Iwai [Tue, 10 Oct 2006 18:01:01 +0000]
[ALSA] hda-codec - Don't return error at initialization of modem codec

Some modem codec seem to fail in the initialization, and this
stopped loading of the whole module although the audio is OK.
Since it's usually a non-fatal issue, the driver tries to proceed
to initialize now.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>

12 years ago[ALSA] hda-codec - Fix wrong error checks in patch_{realtek,analog}.c
Takashi Iwai [Tue, 10 Oct 2006 17:49:31 +0000]
[ALSA] hda-codec - Fix wrong error checks in patch_{realtek,analog}.c

Fix wrong error checks of *_ch_mode_put() in patch_realtek.c and
patch_analog.c.  snd_hda_ch_mode_put() could return a positive
value for success, too.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>

12 years ago[ALSA] ymfpci: fix swap_rear for S/PDIF passthrough
Glen Masgai [Tue, 10 Oct 2006 07:27:19 +0000]
[ALSA] ymfpci: fix swap_rear for S/PDIF passthrough

This patch fixes incorrect assignment of swap_rear,
which was broken since patch 'ymfpci - make rear channel swap optional'
It removes module_param rear_swap.

Signed-off-by: Glen Masgai <mimosius@gmx.de>
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>

12 years ago[ALSA] use the roundup macro
Clemens Ladisch [Mon, 9 Oct 2006 06:14:15 +0000]
[ALSA] use the roundup macro

Use the roundup macro instead of manual calculations.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>

12 years ago[ALSA] use the ALIGN macro
Clemens Ladisch [Mon, 9 Oct 2006 06:13:32 +0000]
[ALSA] use the ALIGN macro

Use the ALIGN macro instead of manual calculations.

Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>

12 years ago[ALSA] ac97_codec (ALC655): add EAPD hack for MSI L725 laptop
Jaroslav Kysela [Thu, 5 Oct 2006 07:30:36 +0000]
[ALSA] ac97_codec (ALC655): add EAPD hack for MSI L725 laptop

New PCI ID described and tested Spectr <spectr@gmail.com> .

Signed-off-by: Jaroslav Kysela <perex@suse.cz>

12 years ago[ALSA] sound: Don't include i2c-dev.h
Jean Delvare [Wed, 4 Oct 2006 16:38:16 +0000]
[ALSA] sound: Don't include i2c-dev.h

Don't include <linux/i2c-dev.h> as it's not needed.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>

12 years ago[ALSA] sound/usb/usbaudio: Handle return value of usb_register()
Tobias Klauser [Wed, 4 Oct 2006 16:12:43 +0000]
[ALSA] sound/usb/usbaudio: Handle return value of usb_register()

Handle the return value of usb_register() in the module_init function.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>

12 years ago[ALSA] via82xx: add __devinitdata
Andreas Mohr [Wed, 4 Oct 2006 15:15:04 +0000]
[ALSA] via82xx: add __devinitdata

add __devinitdata to struct whitelist, since it's used within
a __devinit function.
Add const attribute to iterator variable, too.
Compile-tested (no section warnings etc.) and run-tested
on vt8233, 2.6.18-mm3 (hopefully applies well to current ALSA).

Signed-off-by: Andreas Mohr <andi@lisas.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>

12 years ago[POWERPC] Fix register save area alignment for swapcontext syscall
Paul Mackerras [Wed, 20 Dec 2006 02:57:06 +0000]
[POWERPC] Fix register save area alignment for swapcontext syscall

For 32-bit processes, the getcontext side of the swapcontext system
call (i.e. the saving of the context when the first argument is
non-NULL) has to set the ctx->uc_mcontext.uc_regs pointer to the place
where it saves the registers.  Which it does, but it doesn't ensure
that the pointer is 16-byte aligned.  16-byte alignment is needed
because the Altivec/VMX registers are saved in there, and they need to
be on a 16-byte boundary.

This fixes it by ensuring the appropriate alignment of the pointer.
This issue was pointed out by Jakub Jelinek.

Signed-off-by: Paul Mackerras <paulus@samba.org>

12 years ago[POWERPC] Fix PCI device channel state initialization
Linas Vepstas [Tue, 19 Dec 2006 20:00:34 +0000]
[POWERPC] Fix PCI device channel state initialization

Initialize the pci device pci channel state. This is critical
for having the pci_channel_offline() routine (in pci.h) to
function correctly.

Signed-off-by: Linas Vepstas <linas@austin.ibm.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>

12 years ago[POWERPC] Update MTD OF documentation
Vitaly Wool [Tue, 19 Dec 2006 15:44:25 +0000]
[POWERPC] Update MTD OF documentation

This updates the Documentation/powerpc part of the MTD OF
implementation with the new field probe-type. Its support has already
been implemented in MTD part (drivers/mtd/maps/physmap_of.c).

Signed-off-by: Vitaly Wool <vwool@ru.mvista.com>
Acked-by: Sergei Shtylyov <sshtylyov@ru.mvista.com>
Signed-off-by: Paul Mackerras <paulus@samba.org>

12 years ago[POWERPC] Probe Efika platform before CHRP.
David Woodhouse [Tue, 19 Dec 2006 09:54:56 +0000]
[POWERPC] Probe Efika platform before CHRP.

The Efika matches chrp_probe() too, so put its own probe first to make
sure we get it right in a multiplatform build.

Signed-off-by: David Woodhouse <dwmw2@infradead.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>

12 years ago[POWERPC] Fix build of cell zImage.initrd
Benjamin Herrenschmidt [Tue, 19 Dec 2006 05:42:58 +0000]
[POWERPC] Fix build of cell zImage.initrd

The patch adding support for zImage.ps3 didn't add a zImage.initrd.ps3
target causing builds of zImage.initrd to fail when ps3 is included in
the .config. The current method of generating ps3 images doesn't support
initrd's yet, so we create a dummy target that only displays a warning
message instead.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>

12 years ago[POWERPC] iSeries: fix CONFIG_VIOPATH dependency
Stephen Rothwell [Fri, 15 Dec 2006 04:46:39 +0000]
[POWERPC] iSeries: fix CONFIG_VIOPATH dependency

This is a long standing typo.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>

12 years ago[POWERPC] iSeries: fix viocons init
Stephen Rothwell [Fri, 15 Dec 2006 04:45:13 +0000]
[POWERPC] iSeries: fix viocons init

Only initialise viocons on legacy iSeries.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>

12 years ago[POWERPC] iSeries: fix viocd init
Stephen Rothwell [Fri, 15 Dec 2006 04:44:04 +0000]
[POWERPC] iSeries: fix viocd init

Only initialise viocd on legacy iSeries.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>

12 years ago[POWERPC] iSeries: fix iseries_veth init
Stephen Rothwell [Fri, 15 Dec 2006 04:42:50 +0000]
[POWERPC] iSeries: fix iseries_veth init

Only initialise iseries_veth on legacy iSeries.
Make the init and exit routines static.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>

12 years ago[POWERPC] iSeries: fix viotape init
Stephen Rothwell [Fri, 15 Dec 2006 04:41:43 +0000]
[POWERPC] iSeries: fix viotape init

Only initialise viotape on legacy iSeries.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>

12 years ago[POWERPC] iSeries: fix viodasd init
Stephen Rothwell [Fri, 15 Dec 2006 04:40:08 +0000]
[POWERPC] iSeries: fix viodasd init

Don't initialise viodasd except on legacy iSeries.

Signed-off-by: Stephen Rothwell <sfr@canb.auug.org.au>
Signed-off-by: Paul Mackerras <paulus@samba.org>

12 years ago[POWERPC] Workaround oldworld OF bug with IRQs & P2P bridges
Benjamin Herrenschmidt [Thu, 14 Dec 2006 20:13:26 +0000]
[POWERPC] Workaround oldworld OF bug with IRQs & P2P bridges

On some oldworld PowerMacs, OF doesn't assign interrupts properly
beyond P2P bridges. Fortunately, the fix is easy as all those machines
just wire all IRQ lines together to one IRQ which is assigned to the
bridge itself. We already have a special function for parsing Apple
OldWorld interrupts which are special, so let's add to it the ability
to walk up the PCI tree to find interrupts.

This fixes irqs on the lower slots of s900 clones among others.

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Paul Mackerras <paulus@samba.org>

12 years agoMerge branch 'cell-merge' of master.kernel.org:/pub/scm/linux/kernel/git/arnd/cell-2.6
Paul Mackerras [Wed, 20 Dec 2006 05:22:53 +0000]
Merge branch 'cell-merge' of /linux/kernel/git/arnd/cell-2.6

12 years ago[ARM] 4062/1: S3C24XX: Anubis and Osiris shuld have CONFIG_PM_SIMTEC
Ben Dooks [Tue, 19 Dec 2006 22:46:17 +0000]
[ARM] 4062/1: S3C24XX: Anubis and Osiris shuld have CONFIG_PM_SIMTEC

Both CONFIG_MACH_OSIRIS and CONFIG_MACH_ANUBIS
should select CONFIG_PM_SIMTEC.

This patch moves the selection of CONFIG_PM_SIMTEC
to the machines that require it, as currently done
with other machines in the S3C2410 architecture.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

12 years ago[ARM] 4060/1: update several ARM defconfigs
Lennert Buytenhek [Tue, 19 Dec 2006 20:46:05 +0000]
[ARM] 4060/1: update several ARM defconfigs

Update the ep93xx, iop13xx, iop32x, iop33x, ixp2000, ixp23xx,
lpd270 and onearm defconfigs to 2.6.20-rc1.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

12 years ago[ARM] 4061/1: xsc3: change of maintainer
Lennert Buytenhek [Tue, 19 Dec 2006 20:48:15 +0000]
[ARM] 4061/1: xsc3: change of maintainer

Deepak Saxena has agreed to hand xsc3 maintainership over to me.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

12 years ago[ARM] 4059/1: VR1000: fix LED3's platform device number
Ben Dooks [Tue, 19 Dec 2006 18:10:13 +0000]
[ARM] 4059/1: VR1000: fix LED3's platform device number

LED 3 should have been registered with the
platform deviceid of 3, instead of 1 (which
was used for LED 1).

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

12 years ago[ARM] 4022/1: iop13xx: generic irq fixups
Dan Williams [Thu, 14 Dec 2006 22:31:20 +0000]
[ARM] 4022/1: iop13xx: generic irq fixups

* use irq_chip
* use handle_level_irq

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

12 years agoMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid
Linus Torvalds [Tue, 19 Dec 2006 18:32:40 +0000]
Merge branch 'for-linus' of git://git./linux/kernel/git/jikos/hid

* 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/hid:
  [PATCH] Generic HID layer - update MAINTAINERS
  input/hid: Supporting more keys from the HUT Consumer Page
  [PATCH] Generic HID layer - build: USB_HID should select HID

12 years ago[POWERPC] powerpc: add scanning of ebc bus to of_platform
Arnd Bergmann [Tue, 19 Dec 2006 14:32:46 +0000]
[POWERPC] powerpc: add scanning of ebc bus to of_platform

This patch add scanning of ebc bus to of_platform, which is needed
to recognize devices located on that bus.

Signed-off-by: Christian Krafft <krafft@de.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>

12 years ago[POWERPC] spufs: fix assignment of node numbers
Arnd Bergmann [Tue, 19 Dec 2006 14:32:45 +0000]
[POWERPC] spufs: fix assignment of node numbers

The difference between 'nid' and 'node' fields in an
spu structure was used incorrectly. The common 'node'
number now reflects the NUMA node, and it is used
in other places in the code as well.

The 'nid' value is meaningful only in one place, namely
the computation of the interrupt numbers based on the
physical location of an spu.  Consequently, we look it
up directly in the place where it is used now.

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>

12 years ago[POWERPC] cell: Fix spufs with "new style" device-tree
Benjamin Herrenschmidt [Tue, 19 Dec 2006 14:32:44 +0000]
[POWERPC] cell: Fix spufs with "new style" device-tree

Some SPU code was a bit too convoluted and broke when adding support for
the new style device-tree, most notably the struct pages for SPEs no
longer get created. oops...

Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>

12 years ago[POWERPC] cell: Enable spider workarounds on all PCI buses
Jens Osterkamp [Tue, 19 Dec 2006 14:32:43 +0000]
[POWERPC] cell: Enable spider workarounds on all PCI buses

Don't limit spider I/O workarounds to the first two buses.
The IBM Cell blade has three of them (one PCI, two PCIe)
and we want to handle them all.

Signed-off-by: Jens Osterkamp <jens@de.ibm.com>
Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>

12 years ago[POWERPC] cell: add forward struct declarations to spu.h
Arnd Bergmann [Tue, 19 Dec 2006 14:32:42 +0000]
[POWERPC] cell: add forward struct declarations to spu.h

Needed to be able to include spu.h independant from other
headers.

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>

12 years ago[POWERPC] cell: update cell_defconfig
Arnd Bergmann [Tue, 19 Dec 2006 14:32:41 +0000]
[POWERPC] cell: update cell_defconfig

New options appeared in the kernel, and new hardware became
available for us to use.

Signed-off-by: Arnd Bergmann <arnd.bergmann@de.ibm.com>

12 years ago[PATCH] Fixup blk_rq_unmap_user() API
Jens Axboe [Tue, 19 Dec 2006 10:12:46 +0000]
[PATCH] Fixup blk_rq_unmap_user() API

The blk_rq_unmap_user() API is not very nice. It expects the caller to
know that rq->bio has to be reset to the original bio, and it will
silently do nothing if that is not done. Instead make it explicit that
we need to pass in the first bio, by expecting a bio argument.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

12 years ago[PATCH] __blk_rq_unmap_user() fails to return error
Jens Axboe [Tue, 19 Dec 2006 10:07:59 +0000]
[PATCH] __blk_rq_unmap_user() fails to return error

If the bio is user copied, the copy back could return -EFAULT. Make
sure we return any error seen during unmapping.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

12 years ago[PATCH] __blk_rq_map_user() doesn't need to grab the queue_lock
Jens Axboe [Tue, 19 Dec 2006 07:34:17 +0000]
[PATCH] __blk_rq_map_user() doesn't need to grab the queue_lock

It was for driver private back_merge_fn hooks, but they don't exist
anymore.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

12 years ago[PATCH] Remove queue merging hooks
Jens Axboe [Tue, 19 Dec 2006 07:33:11 +0000]
[PATCH] Remove queue merging hooks

We have full flexibility of merging parameters now, so we can remove the
hooks that define back/front/request merge strategies. Nobody is using
them anymore.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

12 years ago[PATCH] ->nr_sectors and ->hard_nr_sectors are not used for BLOCK_PC requests
Jens Axboe [Tue, 19 Dec 2006 07:27:31 +0000]
[PATCH] ->nr_sectors and ->hard_nr_sectors are not used for BLOCK_PC requests

It's a file system thing, for block requests the only size used in the
io paths is ->data_len as it is in bytes, not sectors.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

12 years agodrm: Stop defining pci_pretty_name
Jean Delvare [Tue, 19 Dec 2006 07:04:33 +0000]
drm: Stop defining pci_pretty_name

drm drivers no longer use pci_pretty_name so we can stop defining it.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Dave Airlie <airlied@linux.ie>

12 years agodrm: r128: comment aligment with drm git
Dave Airlie [Tue, 19 Dec 2006 06:56:14 +0000]
drm: r128: comment aligment with drm git

Align some r128 license comments

Signed-off-by: Dave Airlie <airlied@linux.ie>

12 years agodrm: make kernel context switch same as for drm git tree.
Dave Airlie [Tue, 19 Dec 2006 06:49:44 +0000]
drm: make kernel context switch same as for drm git tree.

Signed-off-by: Dave Airlie <airlied@linux.ie>

12 years agodrm: fixup comment header style
Dave Airlie [Tue, 19 Dec 2006 06:49:08 +0000]
drm: fixup comment header style

Signed-off-by: Dave Airlie <airlied@linux.ie>

12 years agodrm: savage: compat fix from drm git.
Eric Anholt [Tue, 19 Dec 2006 06:20:02 +0000]
drm: savage: compat fix from drm git.

Signed-off-by: Dave Airlie <airlied@linux.ie>

12 years ago[PATCH] cciss: fix XFER_READ/XFER_WRITE in do_cciss_request
Mike Miller [Mon, 18 Dec 2006 10:00:14 +0000]
[PATCH] cciss: fix XFER_READ/XFER_WRITE in do_cciss_request

This patch fixes a stupid bug. Sometime during the 2tb enhancement I ended up
replacing the macros XFER_READ and XFER_WRITE with h->cciss_read and
h->cciss_write respectively. It seemed to work somehow at least on x86_64 and
ia64. I don't know how. But people started complaining about command timeouts
on older controllers like the 64xx series and only on ia32. This resolves the
issue reproduced in our lab. Please consider this for inclusion.

Thanks,
mikem

Signed-off-by: Mike Miller <mike.miller@hp.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

12 years ago[PATCH] cciss: set default raid level when reading geometry fails
Mike Miller [Mon, 18 Dec 2006 09:59:39 +0000]
[PATCH] cciss: set default raid level when reading geometry fails

This patch sets a default raid level on a volume that either does not support
reading the geometry or reports an invalid geometry for whatever reason. We
were always setting some values for heads and sectors but never set a raid
level. This caused lots of problems on some buggy firmware. Please consider
this for inclusion.

Thanks,
mikem

Signed-off-by: Mike Miller <mike.miller@hp.com>
Signed-off-by: Jens Axboe <jens.axboe@oracle.com>

12 years ago[CONNECTOR]: Replace delayed work with usual work queue.
Evgeniy Polyakov [Mon, 18 Dec 2006 09:53:58 +0000]
[CONNECTOR]: Replace delayed work with usual work queue.

Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>

12 years ago[IPV4]: Fix BUG of ip_rt_send_redirect()
Li Yewang [Mon, 18 Dec 2006 08:26:35 +0000]
[IPV4]: Fix BUG of ip_rt_send_redirect()

Fix the redirect packet of the router if the jiffies wraparound.

Signed-off-by: Li Yewang <lyw@nanjing-fnst.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

12 years ago[TCP]: Trivial fix to message in tcp_v4_inbound_md5_hash
Leigh Brown [Mon, 18 Dec 2006 01:13:10 +0000]
[TCP]: Trivial fix to message in tcp_v4_inbound_md5_hash

The message logged in tcp_v4_inbound_md5_hash when the hash was expected
but not found was reversed.

Signed-off-by: Leigh Brown <leigh@solinno.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>

12 years ago[TCP]: Fix oops caused by tcp_v4_md5_do_del
Leigh Brown [Mon, 18 Dec 2006 01:12:30 +0000]
[TCP]: Fix oops caused by tcp_v4_md5_do_del

md5sig_info.alloced4 must be set to zero when freeing keys4, otherwise
it will not be alloc'd again when another key is added to the same
socket by tcp_v4_md5_do_add.

Signed-off-by: Leigh Brown <leigh@solinno.co.uk>
Signed-off-by: David S. Miller <davem@davemloft.net>

12 years ago[CONNECTOR]: Fix compilation breakage introduced recently.
Evgeniy Polyakov [Mon, 18 Dec 2006 01:09:41 +0000]
[CONNECTOR]: Fix compilation breakage introduced recently.

Linus has changed work queue structure and has not tested it with
connector compiled in, his changes break the build.

Attached patch fixes compilation error.

Patch is against commit 99f5e9718185f07458ae70c2282c2153a2256c91.

Thanks to Toralf Förster for pointing this out.

Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru>
Signed-off-by: David S. Miller <davem@davemloft.net>

12 years ago[TG3]: Update version and reldate.
Michael Chan [Mon, 18 Dec 2006 01:08:30 +0000]
[TG3]: Update version and reldate.

Update version to 3.71.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

12 years ago[TG3]: Power down/up 5906 PHY correctly.
Michael Chan [Mon, 18 Dec 2006 01:08:07 +0000]
[TG3]: Power down/up 5906 PHY correctly.

The 5906 PHY requires a special register bit to power down and up the
PHY.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

12 years ago[TG3]: Fix race condition when calling register_netdev().
Michael Chan [Mon, 18 Dec 2006 01:07:29 +0000]
[TG3]: Fix race condition when calling register_netdev().

Hot-plug scripts can call tg3_open() as soon as register_netdev() is
called in tg3_init_one().  We need to call pci_set_drvdata() before
register_netdev(), and netif_carrier_off() needs to be moved to
tg3_open() to avoid race conditions.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

12 years ago[TG3]: Assign tp->link_config.orig_* values.
Michael Chan [Mon, 18 Dec 2006 01:06:46 +0000]
[TG3]: Assign tp->link_config.orig_* values.

tp->link_config.orig_* values must be assigned during
tg3_set_settings() because these values will be used to setup the
link speed during tg3_open().  Without these assignments, the link
speed settings will be all messed by if tg3_set_settings() is called
when the device is down.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

12 years ago[NETFILTER] IPV6: Fix dependencies.
David S. Miller [Sun, 17 Dec 2006 22:37:23 +0000]
[NETFILTER] IPV6: Fix dependencies.

Although the menu dependencies in net/ipv6/netfilter/Kconfig
guard the entries in that file from the Kconfig GUI, this does
not prevent them from being selected still via "make oldconfig"
when IPV6 etc. is disabled.

So add explicit dependencies.

Signed-off-by: David S. Miller <davem@davemloft.net>

12 years ago[BNX2]: Fix minor loopback problem.
Michael Chan [Thu, 14 Dec 2006 23:57:04 +0000]
[BNX2]: Fix minor loopback problem.

Use the configured MAC address instead of the permanent MAC address
for loopback frames.

Update version to 1.5.2.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

12 years ago[BNX2]: Fix bug in bnx2_nvram_write().
Michael Chan [Thu, 14 Dec 2006 23:56:50 +0000]
[BNX2]: Fix bug in bnx2_nvram_write().

Length was not calculated correctly if the NVRAM offset is on a non-
aligned offset.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

12 years ago[BNX2]: Fix panic in bnx2_tx_int().
Michael Chan [Thu, 14 Dec 2006 23:56:32 +0000]
[BNX2]: Fix panic in bnx2_tx_int().

There was an off-by-one bug in bnx2_tx_avail().  If the tx ring is
completely full, the producer and consumer indices may be apart by
256 even though the ring size is only 255.  One entry in the ring is
unused and must be properly accounted for when calculating the number
of available entries.  The bug caused the tx ring entries to be
reused by mistake, overwriting active entries, and ultimately causing
it to crash.

This bug rarely occurs because the tx ring is rarely completely full.
We always stop when there is less than MAX_SKB_FRAGS entries available
in the ring.

Thanks to Corey Kovacs <cjk@techma.com> and Andy Gospodarek
<agospoda@redhat.com> for reporting the problem and helping to collect
debug information.

Signed-off-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

12 years ago[AX.25]: Fix unchecked rose_add_loopback_neigh uses
Ralf Baechle [Thu, 14 Dec 2006 23:52:13 +0000]
[AX.25]: Fix unchecked rose_add_loopback_neigh uses

rose_add_loopback_neigh uses kmalloc and the callers were ignoring the
error value.  Rewrite to let the caller deal with the allocation.  This
allows the use of static allocation of kmalloc use entirely.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

12 years ago[AX.25]: Fix unchecked rose_add_loopback_node uses
Ralf Baechle [Thu, 14 Dec 2006 23:51:44 +0000]
[AX.25]: Fix unchecked rose_add_loopback_node uses

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

12 years ago[AX.25]: Fix unchecked ax25_linkfail_register uses
Ralf Baechle [Thu, 14 Dec 2006 23:51:23 +0000]
[AX.25]: Fix unchecked ax25_linkfail_register uses

ax25_linkfail_register uses kmalloc and the callers were ignoring the
error value.  Rewrite to let the caller deal with the allocation.  This
allows the use of static allocation of kmalloc use entirely.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

12 years ago[AX.25]: Fix unchecked nr_add_node uses.
Ralf Baechle [Thu, 14 Dec 2006 23:50:58 +0000]
[AX.25]: Fix unchecked nr_add_node uses.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

12 years ago[AX.25]: Fix unchecked ax25_listen_register uses
Ralf Baechle [Thu, 14 Dec 2006 23:50:34 +0000]
[AX.25]: Fix unchecked ax25_listen_register uses

Fix ax25_listen_register to return something that's a sane error code,
then all callers to use it.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

12 years ago[AX.25]: Fix unchecked ax25_protocol_register uses.
Ralf Baechle [Thu, 14 Dec 2006 23:50:01 +0000]
[AX.25]: Fix unchecked ax25_protocol_register uses.

Replace ax25_protocol_register by ax25_register_pid which assumes the
caller has done the memory allocation.  This allows replacing the
kmalloc allocations entirely by static allocations.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

12 years ago[AX.25]: Mark all kmalloc users __must_check
Ralf Baechle [Thu, 14 Dec 2006 23:49:28 +0000]
[AX.25]: Mark all kmalloc users __must_check

The recent fix 0506d4068bad834aab1141b5dc5e748eb175c6b3 made obvious that
error values were not being propagated through the AX.25 stack.  To help
with that this patch marks all kmalloc users in the AX.25, NETROM and
ROSE stacks as __must_check.

Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: David S. Miller <davem@davemloft.net>

12 years ago[TG3]: replace kmalloc+memset with kzalloc
Yan Burman [Thu, 14 Dec 2006 23:25:00 +0000]
[TG3]: replace kmalloc+memset with kzalloc

Replace kmalloc+memset with kzalloc

Signed-off-by: Yan Burman <burman.yan@gmail.com>
Acked-by: Michael Chan <mchan@broadcom.com>
Signed-off-by: David S. Miller <davem@davemloft.net>

12 years agoMerge master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq
Linus Torvalds [Mon, 18 Dec 2006 03:08:11 +0000]
Merge /pub/scm/linux/kernel/git/davej/cpufreq

* master.kernel.org:/pub/scm/linux/kernel/git/davej/cpufreq:
  [CPUFREQ] longhaul compile fix.
  [CPUFREQ] Advise not to use longhaul on VIA C7.
  [CPUFREQ] set policy->curfreq on initialization
  [CPUFREQ] Trivial cleanup for acpi read/write port in acpi-cpufreq.c
  [CPUFREQ] fixes typo in cpufreq.c

12 years ago[PATCH] more work_struct fixes: tas300x sound drivers
Al Viro [Fri, 8 Dec 2006 09:16:49 +0000]
[PATCH] more work_struct fixes: tas300x sound drivers

Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Acked-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>

12 years ago[SPARC]: Make bitops use same spinlocks as atomics.
David S. Miller [Mon, 18 Dec 2006 00:18:47 +0000]
[SPARC]: Make bitops use same spinlocks as atomics.

Recent workqueue changes basically make this a formal requirement.

Also, move atomic32.o from lib-y to obj-y since it exports symbols
to modules.

Signed-off-by: David S. Miller <davem@davemloft.net>

12 years ago[ARM] 4015/1: s3c2410 cpu ifdefs
Krzysztof Helt [Tue, 12 Dec 2006 14:02:32 +0000]
[ARM] 4015/1: s3c2410 cpu ifdefs

The patch adds ifdefs around per cpu definitions. Otherwise, if
not all cpu types are selected, the kernel does not link.

Signed-off-by: Krzysztof Helt <krzysztof.h1@wp.pl>
Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

12 years ago[ARM] 4057/1: ixp23xx: unconditionally enable hardware coherency
Lennert Buytenhek [Mon, 18 Dec 2006 00:04:09 +0000]
[ARM] 4057/1: ixp23xx: unconditionally enable hardware coherency

On ixp23xx, it was thought to be necessary to disable coherency to work
around certain silicon errata.  This turns out not to be the case --
none of the documented errata workarounds require disabling coherency,
and disabling coherency does not work around any existing errata.

Furthermore, all ixp23xx models do support coherency, so we should just
unconditionally enable coherency for all ixp23xx.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

12 years ago[ARM] 4056/1: iop13xx: fix resource.end off-by-one in flash setup
Lennert Buytenhek [Mon, 18 Dec 2006 00:02:24 +0000]
[ARM] 4056/1: iop13xx: fix resource.end off-by-one in flash setup

The struct resource 'end' field is inclusive, the iop13xx flash
setup code got this wrong.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

12 years ago[ARM] 4055/1: iop13xx: fix phys_io/io_pg_offst for iq81340mc/sc
Lennert Buytenhek [Mon, 18 Dec 2006 00:01:08 +0000]
[ARM] 4055/1: iop13xx: fix phys_io/io_pg_offst for iq81340mc/sc

The phys_io/io_pg_offst machine record variables were being set
to bogus values, causing problems when enabling DEBUG_LL.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

12 years ago[ARM] 4054/1: ep93xx: add HWCAP_CRUNCH
Lennert Buytenhek [Sun, 17 Dec 2006 23:59:10 +0000]
[ARM] 4054/1: ep93xx: add HWCAP_CRUNCH

Add HWCAP_CRUNCH so that the dynamic linker knows whether it can
use Crunch-optimised libraries or not.

Signed-off-by: Lennert Buytenhek <buytenh@wantstofly.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

12 years ago[ARM] 4052/1: S3C24XX: Fix PM in arch/arm/mach-s3c2410/Kconfig
Ben Dooks [Sun, 17 Dec 2006 23:39:47 +0000]
[ARM] 4052/1: S3C24XX: Fix PM in arch/arm/mach-s3c2410/Kconfig

Fix up the CONFIG_PM mixups in arch/arm/mach-s3c2410/Kconfig
causing CONFIG_S3C2410_PM and CONFIG_PM_H1940 to get enabled
permanently.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

12 years ago[ARM] Fix warnings from asm/system.h
Russell King [Mon, 18 Dec 2006 00:12:47 +0000]
[ARM] Fix warnings from asm/system.h

Move adjust_cr() into arch/arm/mm/mmu.c, and move irqflags.h to
a more appropriate place in the header file.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

12 years ago[CPUFREQ] longhaul compile fix.
Dave Jones [Mon, 18 Dec 2006 00:09:59 +0000]
[CPUFREQ] longhaul compile fix.

Some gcc's are more anal than others about empty switch labels.
error: label at end of compound statement

Signed-off-by: Dave Jones <davej@redhat.com>

12 years ago[CPUFREQ] Advise not to use longhaul on VIA C7.
Dave Jones [Mon, 18 Dec 2006 00:07:35 +0000]
[CPUFREQ] Advise not to use longhaul on VIA C7.

C7's are centrino speedstep-alike.

Signed-off-by: Dave Jones <davej@redhat.com>

12 years ago[ARM] 4051/1: S3C24XX: clean includes in S3C2440 and S3C2442 support
Ben Dooks [Sun, 17 Dec 2006 22:32:21 +0000]
[ARM] 4051/1: S3C24XX: clean includes in S3C2440 and S3C2442 support

Clean the includes in arch/arm/mach-s3c2410/s3c2440.c
and arch/arm/mach-s3c2410/s3c2442.c which should have
been pruned when these where split and updated.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

12 years ago[ARM] 4050/1: S3C24XX: remove old changelogs in arch/arm/mach-s3c2410
Ben Dooks [Sun, 17 Dec 2006 22:26:13 +0000]
[ARM] 4050/1: S3C24XX: remove old changelogs in arch/arm/mach-s3c2410

Remove old changelog entries in arch/arm/mach-s3c2410
which should be available from the version control
system.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

12 years ago[ARM] 4049/1: S3C24XX: fix sparse warning due to upf_t in regs-serial.h
Ben Dooks [Sun, 17 Dec 2006 22:22:26 +0000]
[ARM] 4049/1: S3C24XX: fix sparse warning due to upf_t in regs-serial.h

Change the include/asm-arm/arch-s3c2410/regs-serial.h
platform data to use the prorper type (upf_t) for the
uart_flags.

Fix all the other parts of arch/arm/mach-s3c2410 to
include <linux/serial_core.h> and all other uses of
the include file.

mach-rx3715.c:101:18: warning: incorrect type in initializer (different base types)
mach-rx3715.c:101:18:    expected unsigned long [unsigned] uart_flags
mach-rx3715.c:101:18:    got restricted unsigned int [usertype] [force] <noident>

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

12 years ago[ARM] 4048/1: S3C24XX: make s3c2410_pm_resume() static
Ben Dooks [Sun, 17 Dec 2006 21:44:56 +0000]
[ARM] 4048/1: S3C24XX: make s3c2410_pm_resume() static

Remove warning from s3c2410_pm_resume() not being
declared by making it static.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

12 years ago[ARM] 4046/1: S3C24XX: fix sparse errors arch/arm/mach-s3c2410
Ben Dooks [Sun, 17 Dec 2006 19:59:37 +0000]
[ARM] 4046/1: S3C24XX: fix sparse errors arch/arm/mach-s3c2410

Fix the following sparse errors in arch/arm/mach-s3c2410
by fixing the include paths and making un-exported items
static.

s3c2410-clock.c:206:12: warning: symbol 's3c2410_baseclk_add' was not declared. Should it be static?
s3c2412-clock.c:559:17: warning: symbol 'clks_src' was not declared. Should it be static?
s3c2412-clock.c:622:12: warning: symbol 'clks' was not declared. Should it be static?
s3c2412-clock.c:630:12: warning: symbol 's3c2412_baseclk_add' was not declared. Should it be static?

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

12 years ago[ARM] 4045/1: S3C24XX: remove old VA for non-shared areas
Ben Dooks [Sun, 17 Dec 2006 19:50:55 +0000]
[ARM] 4045/1: S3C24XX: remove old VA for non-shared areas

Remove old (and non-shared) VA addresses from the mappings
in arch/arm/mach-s3c2410/map.h and anywhere they are being
mapped in arch/arm/mach-s3c2410

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

12 years ago[ARM] 4044/1: S3C24XX: fix sparse warnings in arch/arm/mach-s3c2410/s3c2442-clock.c
Ben Dooks [Sun, 17 Dec 2006 19:41:45 +0000]
[ARM] 4044/1: S3C24XX: fix sparse warnings in arch/arm/mach-s3c2410/s3c2442-clock.c

Fix sparse errors in arch/arm/mach-s3c2410/s3c2442-clock.c

warning: symbol 'clk_h' shadows an earlier one
warning: symbol 'clk_p' shadows an earlier one
warning: symbol 'clk_upll' shadows an earlier one

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

12 years ago[ARM] 4043/1: S3C24XX: fix sparse warnings in arch/arm/mach-s3c2410/s3c2440-clock.c
Ben Dooks [Sun, 17 Dec 2006 19:38:14 +0000]
[ARM] 4043/1: S3C24XX: fix sparse warnings in arch/arm/mach-s3c2410/s3c2440-clock.c

Fix the sparse errors in arch/arm/mach-s3c2410/s3c2440-clock.c

warning: symbol 'clk_h' shadows an earlier one
warning: symbol 'clk_p' shadows an earlier one
warning: symbol 'clk_upll' shadows an earlier one

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

12 years ago[ARM] 4042/1: H1940: Fix sparse errors from VA addresses
Ben Dooks [Sun, 17 Dec 2006 19:18:40 +0000]
[ARM] 4042/1: H1940: Fix sparse errors from VA addresses

Fix address-space conversion errors from passing addresses
generated from include/asm-arm/arch-s3c2410/map.h by adding
an __force argument to the `void __iomem *` for all the
virtual addresses.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

12 years ago[ARM] 4041/1: S3C24XX: Fix sparse errors from VA addresses
Ben Dooks [Sun, 17 Dec 2006 19:15:13 +0000]
[ARM] 4041/1: S3C24XX: Fix sparse errors from VA addresses

Fix address-space conversion errors from passing addresses
generated from include/asm-arm/arch-s3c2410/map.h by adding
an __force argument to the `void __iomem *` for all the
virtual addresses.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

12 years ago[ARM] 4040/1: S3C24XX: Fix copyrights in arch/arm/mach-s3c2410
Ben Dooks [Sun, 17 Dec 2006 19:05:21 +0000]
[ARM] 4040/1: S3C24XX: Fix copyrights in arch/arm/mach-s3c2410

Fix the copyright messages in arch/arm/mach-s3c2410
to actually have `Copyright` in the line.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

12 years ago[ARM] 4039/1: S3C24XX: Fix copyrights in include/asm-arm/arch-s3c2410 (mach)
Ben Dooks [Sun, 17 Dec 2006 19:02:01 +0000]
[ARM] 4039/1: S3C24XX: Fix copyrights in include/asm-arm/arch-s3c2410 (mach)

Fix copyright notices in include/asm-arm/arch-s3c2410
to actually have `Copyright` in the line. This patch
deals with all the core files.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

12 years ago[ARM] 4038/1: S3C24XX: Fix copyrights in include/asm-arm/arch-s3c2410 (core)
Ben Dooks [Sun, 17 Dec 2006 18:59:20 +0000]
[ARM] 4038/1: S3C24XX: Fix copyrights in include/asm-arm/arch-s3c2410 (core)

Fix copyright notices in include/asm-arm/arch-s3c2410
to actually have `Copyright` in the line. This patch
deals with all the core files.

Signed-off-by: Ben Dooks <ben-linux@fluff.org>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

12 years ago[ARM] 4035/1: fix collie compilation
Pavel Machek [Sun, 17 Dec 2006 12:21:05 +0000]
[ARM] 4035/1: fix collie compilation

Thanks to Al Viro, here's fix to 2.6.20-rc1-git, so that collie
compiles, again. It was broken by INIT_WORK changes.

Signed-off-by: Pavel Machek <pavel@suse.cz>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

12 years ago[ARM] 4034/1: pxafb: Fix compile errors
Richard Purdie [Sun, 17 Dec 2006 00:01:11 +0000]
[ARM] 4034/1: pxafb: Fix compile errors

Fix pxafb compile failures when CONFIG_FB_PXA_PARAMETERS is enabled
after recent structure changes.

Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

12 years ago[ARM] Fix BUG()s in ioremap() code
Russell King [Sun, 17 Dec 2006 23:29:57 +0000]
[ARM] Fix BUG()s in ioremap() code

We need to ensure that the area size is page aligned so that
remap_area_pte() doesn't increment the address past the end of
the desired area.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>

12 years ago[CPUFREQ] set policy->curfreq on initialization
Mattia Dongili [Fri, 15 Dec 2006 18:52:45 +0000]
[CPUFREQ] set policy->curfreq on initialization

Check the correct variable and set policy->cur upon acpi-cpufreq
initialization to allow the userspace governor to be used as default.

Signed-off-by: Mattia Dongili <malattia@linux.it>
Acked-by: "Pallipadi, Venkatesh" <venkatesh.pallipadi@intel.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Dave Jones <davej@redhat.com>