]> git.karo-electronics.de Git - karo-tx-linux.git/log
karo-tx-linux.git
17 years ago[ALSA] hda-codec - Fix HP Nettle 5.1 output
Claudio Matsuoka [Fri, 6 Jul 2007 10:10:01 +0000 (12:10 +0200)]
[ALSA] hda-codec - Fix HP Nettle 5.1 output

Fixed HP Nettle 6ch/8ch channel routing based on ALC883 sixstack and
swapping rear and center/LFE in verbs and mixer settings.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Fix the recording selection on VAIO laptop
Takashi Iwai [Thu, 5 Jul 2007 11:10:51 +0000 (13:10 +0200)]
[ALSA] hda-codec - Fix the recording selection on VAIO laptop

Fix the mismatch of init verb and capture mux with VAIO STAC9872.
Also, changed the item names to be more intuitive.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Fix ALC662 auto mode
Kailang Yang [Thu, 5 Jul 2007 10:35:15 +0000 (12:35 +0200)]
[ALSA] hda-codec - Fix ALC662 auto mode

Fixed ALC662 auto mode, wrong NIDs were chosen.

Signed-off-by: Kailang Yang <kailang@realtek.com.tw>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Some fixes for Realtek codec supports
Kailang Yang [Thu, 5 Jul 2007 09:43:05 +0000 (11:43 +0200)]
[ALSA] hda-codec - Some fixes for Realtek codec supports

- Added BenQ T31-16 AMD Turion64x2 (ALC262) support
- Added models for ASUS machines with ALC861

Signed-off-by: Kailang Yang <kailang@realtek.com.tw>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Fix 5.1 output in LG LW20
Claudio Matsuoka [Wed, 4 Jul 2007 13:17:38 +0000 (15:17 +0200)]
[ALSA] hda-codec - Fix 5.1 output in LG LW20

Implemented LG LW20 5.1 support based on ALC880 threestack modes. It was
previously set to use one DAC and 2 jack modes, giving 2-channel output
only. Analog CD playing support is still missing.

Signed-off-by: Claudio Matsuoka <cmatsuoka@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] nm256 - Add mention of opl3sa2 to a diagnostic message
Paul Vojta [Wed, 4 Jul 2007 08:35:29 +0000 (10:35 +0200)]
[ALSA] nm256 - Add mention of opl3sa2 to a diagnostic message

Adds mention of opl3sa2 driver to a diagnostic message for NeoMagic
nm256 driver.

Signed-off-by: Paul Vojta <vojta@math.berkeley.edu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] opl3sa2 - Add Neomagic MagicWave 3D ISA PnP ID
Paul Vojta [Wed, 4 Jul 2007 08:34:22 +0000 (10:34 +0200)]
[ALSA] opl3sa2 - Add Neomagic MagicWave 3D ISA PnP ID

Add Neomagic MagicWave 3D to list of supported devices for opl3sa2
driver.

Signed-off-by: Paul Vojta <vojta@math.berkeley.edu>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Add support for HP Nettle
Claudio Matsuoka [Tue, 3 Jul 2007 18:02:49 +0000 (20:02 +0200)]
[ALSA] hda-codec - Add support for HP Nettle

Added the model for HP Nettle mobo with ALC883.
From: Claudio Matsuoka <cmatsuoka@gmail.com>

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Add support for HP Spartan
Claudio Matsuoka [Tue, 3 Jul 2007 18:05:19 +0000 (20:05 +0200)]
[ALSA] hda-codec - Add support for HP Spartan

Added the model for HP Spartan with Conexant codec chip.
From: Claudio Matsuoka <cmatsuoka@gmail.com>

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] usb-audio - Add quirk for Roland Juno-G
Claudio Matsuoka [Tue, 3 Jul 2007 18:07:39 +0000 (20:07 +0200)]
[ALSA] usb-audio - Add quirk for Roland Juno-G

Added a quirk for Roland Juno-G.  It's simply a copy of Fantom-X with the
IDs changed.
From: Claudio Matsuoka <cmatsuoka@gmail.com>

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] Add PS3 sound driver
Masakazu Mokuno [Tue, 3 Jul 2007 10:54:49 +0000 (12:54 +0200)]
[ALSA] Add PS3 sound driver

The patch adds the support for the sound feature of PS3 - the digital
output of HDMI and SPDIF optical, and the analog output of AV multi.

Signed-off-by: Masakazu Mokuno <mokuno@sm.sony.co.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] usb-audio: add Roland SH-201 support
Carlo Beccaria [Tue, 3 Jul 2007 06:04:25 +0000 (08:04 +0200)]
[ALSA] usb-audio: add Roland SH-201 support

Add quirks to detect the Roland SH-201.

Signed-off-by: Carlo Beccaria <carlo@beccaria.org>
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Fix the error in DAC assignment of STAC codec
Takashi Iwai [Mon, 2 Jul 2007 17:18:00 +0000 (19:18 +0200)]
[ALSA] hda-codec - Fix the error in DAC assignment of STAC codec

The STAC codec support code has the automatic recognition of
additional side-output pins, and this may result in an error when
the assigned pin has no corresponding DAC connection.
The patch fixes the problem -- it corrects the line_outs again
without such additional pins.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] sound/pci/hda/patch_realtek.c: remove dead code
Adrian Bunk [Mon, 2 Jul 2007 14:03:12 +0000 (16:03 +0200)]
[ALSA] sound/pci/hda/patch_realtek.c: remove dead code

This patch removes some dead code spotted by the Coverity checker.

Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] portman2x4 section mismatch
Randy Dunlap [Wed, 27 Jun 2007 09:52:39 +0000 (11:52 +0200)]
[ALSA] portman2x4 section mismatch

FIx section mismatch when CONFIG_HOTPLUG=n:
WARNING: sound/built-in.o(.exit.text+0x271): Section mismatch: reference to .init.text:snd_p
ortman_unregister_all (between 'snd_portman_module_exit' and 'alsa_mpu401_uart_exit')

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] fix ensoniq section mismatch
Randy Dunlap [Tue, 26 Jun 2007 09:43:52 +0000 (11:43 +0200)]
[ALSA] fix ensoniq section mismatch

Fix ensoniq driver sections when HOTPLUG=n, but code is used
during resume, so it cannot be discarded:
WARNING: sound/pci/snd-ens1371.o(.text+0x5c0): Section mismatch: reference to .init.text: (between 'snd_ensoniq_chip_init' and 'snd_ensoniq_free')

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] HDA - Change default configuration for Fujitsu Si3515
Tobin Davis [Mon, 25 Jun 2007 10:14:25 +0000 (12:14 +0200)]
[ALSA] HDA - Change default configuration for Fujitsu Si3515

This patch changes the default configuration for the Fujitsu Siemens
Si3515 Laptop to the correct model=laptop.

Signed-off-by: Tobin Davis <tdavis@dsl-only.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda: support for S/PDIF out on ASUS M2V
Mike Crash [Mon, 25 Jun 2007 10:12:51 +0000 (12:12 +0200)]
[ALSA] hda: support for S/PDIF out on ASUS M2V

Added support for S/PDIF digital output on ASUS M2V motheboard - added
new model '3stack-660-digout' and ALC660VD_3ST_DIG

Signed-off-by: Mike Crash <mike@mikecrash.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] Fix invalid schedule_timeout_interruptible()
Takashi Iwai [Mon, 25 Jun 2007 10:09:32 +0000 (12:09 +0200)]
[ALSA] Fix invalid schedule_timeout_interruptible()

Fixed the invalid use of schedule_timeout_interruptible() without
checking pending signals.  Simply replaced with schedule_timeout().
Suggestions thanks to Jeff Garzik.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] more section mismatches
Randy Dunlap [Mon, 25 Jun 2007 10:08:01 +0000 (12:08 +0200)]
[ALSA] more section mismatches

Something about __init_or_module isn't working as expected (?).
CONFIG_HOTPLUG=y
CONFIG_MODULES=n
Fix shared init/exit code helper:
WARNING: sound/built-in.o(.exit.text+0x243): Section mismatch: reference to .init.text: (between 'alsa_card_mpu401_exit' and 'ac97_bus_exit')
WARNING: sound/built-in.o(.exit.text+0x21b): Section mismatch: reference to .init.text: (between 'alsa_card_dummy_exit' and 'alsa_card_serial_exit')

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] fix section mismatch
Randy Dunlap [Mon, 25 Jun 2007 10:07:38 +0000 (12:07 +0200)]
[ALSA] fix section mismatch

Fix shared init/exit function attributes:
WARNING: sound/built-in.o(.exit.text+0x4a1): Section mismatch: reference to .init.text: (between 'alsa_card_virmidi_exit' and 'alsa_card_serial_exit')
WARNING: sound/built-in.o(.exit.text+0x4c1): Section mismatch: reference to .init.text: (between 'alsa_card_serial_exit' and 'ac97_bus_exit')

Signed-off-by: Randy Dunlap <randy.dunlap@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Add AD1882 codec support
Takashi Iwai [Wed, 20 Jun 2007 13:46:13 +0000 (15:46 +0200)]
[ALSA] hda-codec - Add AD1882 codec support

Added AD1882 codec support.  It has currently two models, 3stack and
6stack.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Output MFG information for HDA devices
Jonathan Phenix [Tue, 19 Jun 2007 16:31:28 +0000 (18:31 +0200)]
[ALSA] hda-codec - Output MFG information for HDA devices

This patch output information about the MFG (Modem Function Group) to
the /proc/asound/card?/codec#? file. This information is important to
identify if a HDA device has a modem or not.

Signed-off-by: Jonathan Phenix <jonathan@linuxant.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda: add eapd support to additional idt codecs
Matthew Ranostay [Tue, 19 Jun 2007 14:48:28 +0000 (16:48 +0200)]
[ALSA] hda: add eapd support to additional idt codecs

Added support for EAPD on the 927x, and 9227-8 IDT HDA codecs.
Enabling EAPD powers the internal speaker amp otherwise there is no
sound on systems with an internal amp.

Signed-off-by: Matthew Ranostay <mranostay@embeddedalley.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Add model dell for Dell XPS M1210
Takashi Iwai [Tue, 19 Jun 2007 10:17:42 +0000 (12:17 +0200)]
[ALSA] hda-codec - Add model dell for Dell XPS M1210

Added a new model 'dell' for Dell XPS M1210 with STAC922x codec chip.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Add Fujitsu Siemens v3515 support to patch_conexant
Tobin Davis [Tue, 19 Jun 2007 10:13:32 +0000 (12:13 +0200)]
[ALSA] hda-codec - Add Fujitsu Siemens v3515 support to patch_conexant

This patch adds support for the Fujitsu Seimens Amilo Pro v3515 notebook.

Signed-off-by: Tobin Davis <tdavis@dsl-only.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] ASoC S3C24xx machine drivers - lm4857-h missing patch
Graeme Gregory [Tue, 19 Jun 2007 10:12:33 +0000 (12:12 +0200)]
[ALSA] ASoC S3C24xx machine drivers - lm4857-h missing patch

Somewhere when dealing with the s3c24xx patches and requested changes I
managed to miss this file on re-submission.
Its a header file required for compilation of neo1973-wm8573.c and
should be a no brainer.

Signed-off-by: Graeme Gregory <gg@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Fix ALC662 auto-configuration code
Takashi Iwai [Tue, 19 Jun 2007 10:11:16 +0000 (12:11 +0200)]
[ALSA] hda-codec - Fix ALC662 auto-configuration code

The auto-configuration code didn't initialize the verbs correctly.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Add model for Toshiba A135
Takashi Iwai [Thu, 14 Jun 2007 10:58:23 +0000 (12:58 +0200)]
[ALSA] hda-codec - Add model for Toshiba A135

Added model=lenovo for Toshiba A135 with ALC861VD codec.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Add HP Pavillion quirk to Realtek code
Tobin Davis [Tue, 12 Jun 2007 09:27:46 +0000 (11:27 +0200)]
[ALSA] hda-codec - Add HP Pavillion quirk to Realtek code

This patch adds the HP Pavillion a1589L desktop system to the ALC883
configuration table.

Signed-off-by: Tobin Davis <tdavis@dsl-only.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] ali5451 warning fix
Andrew Morton [Mon, 11 Jun 2007 10:23:31 +0000 (12:23 +0200)]
[ALSA] ali5451 warning fix

sound/pci/ali5451/ali5451.c: In function 'snd_ali_prepare':
sound/pci/ali5451/ali5451.c:716: warning: 'R2' may be used uninitialized in this function

Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] emu10k1 - EMU 1212 with 16 capture channels
Pavel Hofman [Mon, 11 Jun 2007 10:21:20 +0000 (12:21 +0200)]
[ALSA] emu10k1 - EMU 1212 with 16 capture channels

* adding 8 more 32-bit capture channels (total of 16) for emu1010 cards
* adding some code comments and card details description

Signed-off-by: Pavel Hofman <dustin@seznam.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] Add the MCP73/77 support to hda_intel driver
Peer Chen [Fri, 8 Jun 2007 11:55:10 +0000 (13:55 +0200)]
[ALSA] Add the MCP73/77 support to hda_intel driver

Add the MCP73/MCP77 support to hda driver.
The patch base on kernel 2.6.22-rc4

Signed-off-by: Peer Chen <peerchen@gmail.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Fix Thinkpad X61/T61 outputs
Takashi Iwai [Fri, 8 Jun 2007 10:25:25 +0000 (12:25 +0200)]
[ALSA] hda-codec - Fix Thinkpad X61/T61 outputs

Enable EAPD bit on Thinkpad X61/T61.  The recent model requires it
explicitly to make any sounds.   In future, it should be toggled
automatically on demand.
Also, added a beep volume/switch.  Some people like it although I
don't understand why :)

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] soc/sh: let SND_SOC_PCM_SH7760 depend on SH_DMABRG
Manuel Lauss [Fri, 8 Jun 2007 09:41:34 +0000 (11:41 +0200)]
[ALSA] soc/sh: let SND_SOC_PCM_SH7760 depend on SH_DMABRG

Let SND_SOC_PCM_SH7760 depend on SH_DMABRG rather than select'ing it.
Gets rid of the Kbuild warning about SH_DMABRG being undefined on non-sh
builds.

Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Add quirk for another MSI laptop to alc883_cfg_tbl[]
Daniel T Chen [Fri, 8 Jun 2007 09:39:35 +0000 (11:39 +0200)]
[ALSA] hda-codec - Add quirk for another MSI laptop to alc883_cfg_tbl[]

This hg commit adds the SSID of another MSI laptop to the
alc883_cfg_tbl[] quirk list.  Verified in #alsa/Freenode
on Thu, Jun 7, 2007.

Signed-off-by: Daniel T Chen <crimsun@ubuntu.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] Yet another Uniwill laptop with ALC861 codec
Dave Jones [Wed, 6 Jun 2007 12:48:52 +0000 (14:48 +0200)]
[ALSA] Yet another Uniwill laptop with ALC861 codec

From: Dave Jones <davej@redhat.com>
Rediffed version of the patch from ..
http://bugzilla.kernel.org/show_bug.cgi?id=8016
that seems to be lingering for some time.
Original patch by: Andy Shevchenko <andy@smile.org.ua>

Signed-off-by: Dave Jones <davej@redhat.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Add support of ALC268 codec
Kailang Yang [Tue, 5 Jun 2007 10:30:55 +0000 (12:30 +0200)]
[ALSA] hda-codec - Add support of ALC268 codec

Added the support of new ALC268 codec chip.

Signed-off-by: Kailang Yang <kailang@realtek.com.tw>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Add proper model for HP xw series
Kailang Yang [Tue, 5 Jun 2007 10:17:21 +0000 (12:17 +0200)]
[ALSA] hda-codec - Add proper model for HP xw series

Set the proper model for HP xw4550, xw4600, xw6600 and xw8600.

Signed-off-by: Kailang Yang <kailang@realtek.com.tw>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Fix AD1984 basic model
Takashi Iwai [Tue, 5 Jun 2007 10:13:34 +0000 (12:13 +0200)]
[ALSA] hda-codec - Fix AD1984 basic model

Fix the amp direction of digital mic capture volume mixer, which
resulted in -EINVAL.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] More description on duplex streams with OSS emulation
Alan Horstmann [Mon, 4 Jun 2007 21:11:23 +0000 (23:11 +0200)]
[ALSA] More description on duplex streams with OSS emulation

Add paragraph to the OSS document to clarify correct use of duplex streams.

Signed-off-by: Alan Horstmann <gineera@aspect135.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Fix Oops with AD1984 thinkpad model
Takashi Iwai [Mon, 4 Jun 2007 16:32:23 +0000 (18:32 +0200)]
[ALSA] hda-codec - Fix Oops with AD1984 thinkpad model

Fixed Oops with AD1984 thinkpad model.  Also fixed the wrong
init verbs for NID 0x03 and 0x04, which have apparently no mute
bit.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] rme9652 - Fix the hw_pointer check
Takashi Iwai [Wed, 30 May 2007 10:46:21 +0000 (12:46 +0200)]
[ALSA] rme9652 - Fix the hw_pointer check

The negative check in hw_pointer callback doesn't work because the
value is unsigned.  Cast to int in the comparison to fix this.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] ali5451 - Fix invalid type of codec->irq field
Takashi Iwai [Wed, 30 May 2007 10:42:31 +0000 (12:42 +0200)]
[ALSA] ali5451 - Fix invalid type of codec->irq field

The irq field of struct snd_ali shouldn't be unsigned since it's
uninitialized value is -1.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Fix STAC922x capture boost level
Takashi Iwai [Tue, 29 May 2007 17:01:37 +0000 (19:01 +0200)]
[ALSA] hda-codec - Fix STAC922x capture boost level

STAC922x provides the capture boost level up to 4, but actually it
works only up to 2.  Since the range of the mixer is automatically
defined from amp-capability bits, we need to override the value
beforehand.  snd_hda_override_amp_caps() is introduced for this
purpose.
The function patch_stac922x() calls this for NID 0x12 (Mux Capture
Volume).  This should fix another recording problem on Intel Macs.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Fix pin configs for Intel Macs
Ivan N. Zlatev [Tue, 29 May 2007 14:03:00 +0000 (16:03 +0200)]
[ALSA] hda-codec - Fix pin configs for Intel Macs

* adds the pinconfigs for all 5 Apple boards and 14 Subsystem IDs
  (support for possibly all iMac, Mac, MacMini etc etc)
* adds 'intel-mac-v1' to v5 models which replace the current
* reflects changes in Alsa-Configuration.txt

Signed-off-by: Ivan N. Zlatev <contact@i-nz.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] Disable debugging output for the ALS300 driver
Ash Willis [Tue, 29 May 2007 12:34:17 +0000 (14:34 +0200)]
[ALSA] Disable debugging output for the ALS300 driver

Disables debugging output in the ALS300 driver.
Also contains a whitespace cleanup and a fix for a potential bug.

Signed-off-by: Ash Willis <ashwillis@programmer.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] Fix SB-module dependency with PCI drivers
Takashi Iwai [Fri, 25 May 2007 09:50:33 +0000 (11:50 +0200)]
[ALSA] Fix SB-module dependency with PCI drivers

A few PCI drivers like ALS4000 and CS5530 require the SB16-codes.
This patch fixes / improves the dependency between SB modules and
PCI drivers.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] Add support for Cyrix/NatSemi Geode CS5530 (VSA1)
Takashi Iwai [Thu, 24 May 2007 16:46:54 +0000 (18:46 +0200)]
[ALSA] Add support for Cyrix/NatSemi Geode CS5530 (VSA1)

Add support for Cyrix/NatSemi Geode SC5530 (VSA1).
The driver is snd-cs5530.
Signed-off-by Ash Willis <ashwillis@programmer.net>

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Fix wrong mixer controls for AD1984 thinkpad model
Takashi Iwai [Wed, 23 May 2007 14:27:32 +0000 (16:27 +0200)]
[ALSA] hda-codec - Fix wrong mixer controls for AD1984 thinkpad model

Fixed the wrong mixer controls for AD1984 thinkpad model.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Add support of newer version of Intel iMac
Takashi Iwai [Mon, 21 May 2007 10:41:29 +0000 (12:41 +0200)]
[ALSA] hda-codec - Add support of newer version of Intel iMac

Added the pin configs for newer version of Intel iMac.
The information provided by Ivan N. Zlatev <contact@i-nz.net>.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] ice1724 - Add PCM Playback Switch to Revo 7.1
Pavel Hofman [Sat, 19 May 2007 15:21:04 +0000 (17:21 +0200)]
[ALSA] ice1724 - Add PCM Playback Switch to Revo 7.1

This patch adds the support of mute for front channels of M-Audio
Revolution 7.1 (the DAC AK4381 features a mute bit).

Signed-off-by: Pavel Hofman <dustin@seznam.cz>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] Add description about probe_mask option for snd-hda-intel
Takashi Iwai [Sat, 19 May 2007 15:06:42 +0000 (17:06 +0200)]
[ALSA] Add description about probe_mask option for snd-hda-intel

Added a brief description about probe_mask option for snd-hda-intel.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] hda-codec - Add AD1884 / AD1984 codec support
Takashi Iwai [Fri, 18 May 2007 16:21:41 +0000 (18:21 +0200)]
[ALSA] hda-codec - Add AD1884 / AD1984 codec support

Added the support of AD1884 and AD1984 codec chips.
Also experimental quirks for Thinkpad T61/X61 laptops with AD1984.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] Add ALSA support for the SEGA Dreamcast PCM device
Adrian McMenamin [Fri, 18 May 2007 12:26:59 +0000 (14:26 +0200)]
[ALSA] Add ALSA support for the SEGA Dreamcast PCM device

ALSA support for the SEGA Dreamcast Yamaha AICA sound device (pcm)
This patch adds ALSA sound support for pcm playback on two channels on
the SEGA Dreamcast built-in sound device (the Yamaha AICA)
Add driver for the AICA sound device built into the SEGA Dreamcast
Hook it all up with the build system.

Signed-off-by: Adrian McMenamin <adrian@mcmen.demon.co.uk>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] SH7760 ASoC support
Manuel Lauss [Mon, 14 May 2007 16:40:07 +0000 (18:40 +0200)]
[ALSA] SH7760 ASoC support

ALSA ASoC support for SH7760
This patch adds ALSA ASoC drivers for the Audio interfaces
of the SH7760 SoC:
Add driver for the SH7760 DMA engine (dmabrg)
Add AC97 driver for HAC unit(s) found on SH7760/SH7780
Add I2S driver for SSI unit(s) found on SH7760/SH7780
Add a generic SH7760-AC97 machine driver.
Hook it all up with the build system.

Signed-off-by: Manuel Lauss <mano@roarinelk.homelinux.net>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] ASoC S3C24xx machine drivers - Kconfig
Graeme Gregory [Mon, 14 May 2007 09:06:11 +0000 (11:06 +0200)]
[ALSA] ASoC S3C24xx machine drivers - Kconfig

This patch adds Kconfig and build support for the Neo1973, SMDK2443 and
S3C2443 AC97 ALSA audio drivers.

Signed-off-by: Graeme Gregory <gg@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lg@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] ASoC S3C24xx machine drivers - I2C ID for LM4857
Liam Girdwood [Mon, 14 May 2007 09:05:09 +0000 (11:05 +0200)]
[ALSA] ASoC S3C24xx machine drivers - I2C ID for LM4857

This patch adds I2C ID for the LM4857 audio amp and corrects the spacing
of the WM8731, WM8750 and WM8753 ID's.

Signed-off-by: Liam Girdwood <lg@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] ASoC S3C24xx machine drivers - SMDK 2443
Graeme Gregory [Mon, 14 May 2007 09:04:34 +0000 (11:04 +0200)]
[ALSA] ASoC S3C24xx machine drivers - SMDK 2443

This patch adds ALSA support for the SMDK2443 reference board.

Signed-off-by: Graeme Gregory <gg@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lg@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] ASoC S3C24xx machine drivers - Openmoko Neo1973
Graeme Gregory [Mon, 14 May 2007 09:03:52 +0000 (11:03 +0200)]
[ALSA] ASoC S3C24xx machine drivers - Openmoko Neo1973

This patch adds ALSA support for the Openmoko Neo1973 phone. Features:-
 * HiFi Playback and capture.
 * Phone calls supported.
 * Support for BT PCM in WM8753 voice interface.
 * Support for LM4857 audio amp.

Signed-off-by: Graeme Gregory <gg@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lg@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] ASoC S3C24xx machine drivers - s3c2443-AC97
Graeme Gregory [Mon, 14 May 2007 09:02:51 +0000 (11:02 +0200)]
[ALSA] ASoC S3C24xx machine drivers - s3c2443-AC97

This patch adds AC97 support to the Samsung S3C2443 CPU.

Signed-off-by: Graeme Gregory <gg@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lg@opensource.wolfsonmicro.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] usbusx2yaudio: kfree(NULL) is valid
Richard Knutsson [Mon, 14 May 2007 08:38:57 +0000 (10:38 +0200)]
[ALSA] usbusx2yaudio: kfree(NULL) is valid

if (!x) kfree(x); is not needed since kfree(NULL) is valid.

Signed-off-by: Richard Knutsson <ricknu-0@student.ltu.se>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] usb-audio: another Logitech QuickCam ID
Daniel Drake [Thu, 10 May 2007 06:52:19 +0000 (08:52 +0200)]
[ALSA] usb-audio: another Logitech QuickCam ID

This patch adds the ID for another quickcam microphone, reported by freqmod
on ALSA ticket #0003040
I'm going to submit a USB patch separately to provide a macro to simplify these
entries, as suggested by Alan Stern. We could switch to using that in future.

Signed-off-by: Daniel Drake <dsd@gentoo.org>
Signed-off-by: Clemens Ladisch <clemens@ladisch.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years ago[ALSA] Fix unfreed pnp driver in opti9xx ISA driver
Takashi Iwai [Wed, 20 Jun 2007 10:03:09 +0000 (12:03 +0200)]
[ALSA] Fix unfreed pnp driver in opti9xx ISA driver

- Added the missing pnp_unregister_card_driver() in the case ISA PnP
  isn't found, which caused an error at kobject_add with -EEXIST
   Jun 11 09:07:31 rain kernel: kobject_add failed for opti9xx with -EEXIST, don't try to register things with the same name in the same directory.
   Jun 11 09:07:31 rain kernel:  [<c01c18fa>] kobject_shadow_add+0x12a/0x1c0
   Jun 11 09:07:31 rain kernel:  [<c01c1a81>] kobject_register+0x21/0x50
   Jun 11 09:07:31 rain kernel:  [<c01f09a2>] bus_add_driver+0x72/0x1b0
   Jun 11 09:07:31 rain kernel:  [<c01d3dff>] pnp_register_card_driver+0x4f/0xc0
   Jun 11 09:07:31 rain kernel:  [<c89bc00a>] alsa_card_opti9xx_init+0xa/0x25 [snd_opti92x_ad1848]
   Jun 11 09:07:31 rain kernel:  [<c0136947>] sys_init_module+0x157/0x1610
   Jun 11 09:07:31 rain kernel:  [<c01029b4>] syscall_call+0x7/0xb
- Fixed the probe behavior when no PnP is set up.  Now it behaves
  like the former version.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Signed-off-by: Jaroslav Kysela <perex@suse.cz>
17 years agosh64: Flag sh64_get_page() as __init_refok.
Paul Mundt [Fri, 20 Jul 2007 08:46:42 +0000 (17:46 +0900)]
sh64: Flag sh64_get_page() as __init_refok.

sh64_get_page() wraps in to regular allocators as well as the
bootmem allocator for fetching pages, it carefully checks to
see which one it can use depending on the system state, so
the access is safe.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
17 years agosh64: Move entry point code to .text.head.
Paul Mundt [Fri, 20 Jul 2007 08:45:05 +0000 (17:45 +0900)]
sh64: Move entry point code to .text.head.

Follow the sh and m68k changes to silence the modpost warnings.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
17 years agosh: Move entry point code to .text.head.
Paul Mundt [Fri, 20 Jul 2007 08:40:03 +0000 (17:40 +0900)]
sh: Move entry point code to .text.head.

Follow Al Viro's m68k change from l-k:

i.e. tell modpost that entry point code (that has to be outside
of .init.text for external reasons) is OK to refer to .init.*

Shuts up some section mismatch warnings from modpost.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
17 years agosh: heartbeat: Shut up resource size warning.
Paul Mundt [Fri, 20 Jul 2007 08:35:42 +0000 (17:35 +0900)]
sh: heartbeat: Shut up resource size warning.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
17 years agosh: update r2d defconfig and fix SH7751R pci compliation
Magnus Damm [Fri, 20 Jul 2007 08:25:48 +0000 (17:25 +0900)]
sh: update r2d defconfig and fix SH7751R pci compliation

This patch updates the r2d board support in a few ways:

- CPU_SUBTYPE_SH7751R is selected in the defconfig to play well
  with the r2d board Kconfig entry. Without this the defconfig
  results in no board enabled.

- Enable EARLY_PRINTK.
- Enable SH_STANDARD_BIOS
- this works well for early printk on the r2d board.

- Add "earlyprink=bios" to the cmdline for early serial port
  output by default.

- CONFIG_SUBTYPE_SH7751R support is added to the sh-specific
  pci makefile.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
17 years agocfq: Write-only stuff in CFQ data structures
Alexey Dobriyan [Fri, 20 Jul 2007 08:07:50 +0000 (10:07 +0200)]
cfq: Write-only stuff in CFQ data structures

There are some leftover bits from the task cooperator patch, that was
yanked out again. While it will get reintroduced, no point in having
this write-only stuff in the tree. So yank it.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agocfq: async queue allocation per priority
Vasily Tarasov [Fri, 20 Jul 2007 08:06:38 +0000 (10:06 +0200)]
cfq: async queue allocation per priority

If we have two processes with different ioprio_class, but the same
ioprio_data, their async requests will fall into the same queue. I guess
such behavior is not expected, because it's not right to put real-time
requests and best-effort requests in the same queue.

The attached patch fixes the problem by introducing additional *cfqq
fields on cfqd, pointing to per-(class,priority) async queues.

Signed-off-by: Jens Axboe <jens.axboe@oracle.com>
17 years agosh: Many symbol exports for nommu allmodconfig.
Paul Mundt [Fri, 20 Jul 2007 07:59:49 +0000 (16:59 +0900)]
sh: Many symbol exports for nommu allmodconfig.

allmodconfig generates a lot of interesting code, a lot of the
generated symbols we've never exported before, so this fixes
those up. Verified with both GCC3 and GCC4 toolchains.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
17 years agosh: zero terminate 8250 platform data for r2d board
Magnus Damm [Fri, 20 Jul 2007 07:34:22 +0000 (16:34 +0900)]
sh: zero terminate 8250 platform data for r2d board

struct plat_serial8250_port should contain a terminating zero entry

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
17 years agosh: cpufreq: Fix up the build for SH-2.
Paul Mundt [Fri, 20 Jul 2007 07:03:02 +0000 (16:03 +0900)]
sh: cpufreq: Fix up the build for SH-2.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
17 years agosh: Make on-chip DMA channel selection explicit.
Paul Mundt [Fri, 20 Jul 2007 05:24:57 +0000 (14:24 +0900)]
sh: Make on-chip DMA channel selection explicit.

Currently this has a prompt to allow users to change it. There's
no reason to do this, and it has caused breakage and confusion
in the past, so remove it entirely.

We'll get rid of this when the whole driver is tidied for
the driver model.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
17 years agosh: Fix up CPU dependencies for on-chip DMAC.
Paul Mundt [Fri, 20 Jul 2007 05:23:04 +0000 (14:23 +0900)]
sh: Fix up CPU dependencies for on-chip DMAC.

We only handle SH-3 and SH-4 at present, don't expose it to the
other CPUs.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
17 years ago[SPARC64]: Fix two year old bug in early bootup asm.
David S. Miller [Fri, 20 Jul 2007 04:50:09 +0000 (21:50 -0700)]
[SPARC64]: Fix two year old bug in early bootup asm.

We try to fetch the CIF entry pointer from %o4, but that
can get clobbered by the early OBP calls.  It is saved
in %l7 already, so actually this "mov %o4, %l7" can just
be completely removed with no other changes.

Signed-off-by: David S. Miller <davem@davemloft.net>
17 years agoMerge branch 'clkfwk'
Paul Mundt [Fri, 20 Jul 2007 04:38:49 +0000 (13:38 +0900)]
Merge branch 'clkfwk'

17 years agosh: cpufreq: clock framework support.
Paul Mundt [Fri, 20 Jul 2007 04:38:19 +0000 (13:38 +0900)]
sh: cpufreq: clock framework support.

This gets the SH cpufreq working again. We follow the changes
in the AVR32 implementation for wrapping in to the clock framework.
CPUs that wish to use this are required to define rate rounding
primitives in order to satisfy clk_round_rate().

This works well enough for the common case, though we should
look at unifying this driver across all of the platforms that
implement clock framework support in one capacity or another.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
17 years ago[SPARC64]: Update defconfig.
David S. Miller [Fri, 20 Jul 2007 04:30:56 +0000 (21:30 -0700)]
[SPARC64]: Update defconfig.

Signed-off-by: David S. Miller <davem@davemloft.net>
17 years agosh: Support rate rounding for SH7722 FRQCR clocks.
Paul Mundt [Fri, 20 Jul 2007 04:30:07 +0000 (13:30 +0900)]
sh: Support rate rounding for SH7722 FRQCR clocks.

Now that the round_rate() op is supported, hook it up on SH7722
for the FRQCR (CPU, PCLK, etc.) clocks.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
17 years agosh: Implement clk_round_rate() in the clock framework.
Paul Mundt [Fri, 20 Jul 2007 04:29:09 +0000 (13:29 +0900)]
sh: Implement clk_round_rate() in the clock framework.

This is an optional component of the clock framework. However,
as we're going to be using this in the cpufreq drivers, add
support for it to the framework.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
17 years ago[SPARC64]: Fix log message type in vio_create_one().
Fabio Massimo Di Nitto [Thu, 19 Jul 2007 21:00:55 +0000 (14:00 -0700)]
[SPARC64]: Fix log message type in vio_create_one().

Signed-off-by: David S. Miller <davem@davemloft.net>
17 years ago[SPARC64]: Tweak assertions in sun4v_build_virq().
David S. Miller [Thu, 19 Jul 2007 06:16:51 +0000 (23:16 -0700)]
[SPARC64]: Tweak assertions in sun4v_build_virq().

They are too strict.

Signed-off-by: David S. Miller <davem@davemloft.net>
17 years ago[SPARC64]: Tweak kernel log messages in power_probe().
David S. Miller [Thu, 19 Jul 2007 04:18:50 +0000 (21:18 -0700)]
[SPARC64]: Tweak kernel log messages in power_probe().

Use KERN_INFO, add missing newline, etc.

Signed-off-by: David S. Miller <davem@davemloft.net>
17 years ago[SPARC64]: Fix handling of multiple vdc-port nodes.
David S. Miller [Wed, 18 Jul 2007 22:15:45 +0000 (15:15 -0700)]
[SPARC64]: Fix handling of multiple vdc-port nodes.

The "id" property in vdc-port nodes are not unique, they
are all zero.  Therefore assign ID's using the parent's
"cfg-handle" property which will be unique.

Signed-off-by: David S. Miller <davem@davemloft.net>
17 years ago[SPARC64]: Fix device type matching in VIO's devspec_show().
Fabio Massimo Di Nitto [Wed, 18 Jul 2007 21:37:26 +0000 (14:37 -0700)]
[SPARC64]: Fix device type matching in VIO's devspec_show().

with the recent renames, we forgot to update the matches for
devspec. This is required to keep udev working and autoload modules.

Signed-off-by: David S. Miller <davem@davemloft.net>
17 years ago[SPARC64]: Fix MODULE_DEVICE_TABLE() specification in VDC and VNET.
Fabio Massimo Di Nitto [Wed, 18 Jul 2007 21:35:23 +0000 (14:35 -0700)]
[SPARC64]: Fix MODULE_DEVICE_TABLE() specification in VDC and VNET.

Signed-off-by: David S. Miller <davem@davemloft.net>
17 years ago[SPARC]: Add sys_fallocate() entries.
David S. Miller [Wed, 18 Jul 2007 21:28:59 +0000 (14:28 -0700)]
[SPARC]: Add sys_fallocate() entries.

Signed-off-by: David S. Miller <davem@davemloft.net>
17 years ago[SPARC64]: Use orderly_poweroff().
David S. Miller [Wed, 18 Jul 2007 20:12:45 +0000 (13:12 -0700)]
[SPARC64]: Use orderly_poweroff().

Signed-off-by: David S. Miller <davem@davemloft.net>
17 years agosh: Fix up PCI section mismatch warnings.
Paul Mundt [Fri, 20 Jul 2007 04:22:47 +0000 (13:22 +0900)]
sh: Fix up PCI section mismatch warnings.

Flag pcibios_setup() and pcibios_fixup_bus() as __devinit.
Follows the sh64 change.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
17 years agosh64: Fix up PCI section mismatch warnings.
Paul Mundt [Fri, 20 Jul 2007 04:14:07 +0000 (13:14 +0900)]
sh64: Fix up PCI section mismatch warnings.

pcibios_fixup_bus() and pcibios_setup() should be __devinit.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
17 years agosh64: Update cayman defconfig.
Paul Mundt [Fri, 20 Jul 2007 03:39:54 +0000 (12:39 +0900)]
sh64: Update cayman defconfig.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
17 years agosh64: Wire up fallocate() syscall.
Paul Mundt [Fri, 20 Jul 2007 03:37:51 +0000 (12:37 +0900)]
sh64: Wire up fallocate() syscall.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
17 years agosh: Wire up fallocate() syscall.
Paul Mundt [Fri, 20 Jul 2007 03:27:09 +0000 (12:27 +0900)]
sh: Wire up fallocate() syscall.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
17 years agosh: intc - add support for 7780
Magnus Damm [Fri, 20 Jul 2007 03:10:29 +0000 (12:10 +0900)]
sh: intc - add support for 7780

This patch converts the cpu specific 7780 setup code to use the
new intc controller. Many new vectors are added and also support for
external interrupt sense configuration. So with this patch it is now
possible to configure external interrupt pins as edge or level
triggered using set_irq_type().

No external interrupts are registered by default.
Use plat_irq_setup_pins() to select between IRQ or IRL mode.

This patch also fixes the Alarm IRQ for the RTC.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
17 years agosh: intc - improve group support
Magnus Damm [Fri, 20 Jul 2007 03:09:29 +0000 (12:09 +0900)]
sh: intc - improve group support

This patch improves intc group support, ie it makes it possible to
group interrupts together and mask / unmask the entire group. This
also works with priorities, so setting a priority for an entire group
is also possible. This patch is needed to properly support certain
processors such as the 7780.

Fixes for NULL pointers in DECLARE_INTC_DESC() are also included.

Signed-off-by: Magnus Damm <damm@igel.co.jp>
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
17 years agosh: Fix up SH-3 and SH-4 driver dependencies.
Paul Mundt [Wed, 18 Jul 2007 09:55:25 +0000 (18:55 +0900)]
sh: Fix up SH-3 and SH-4 driver dependencies.

Both shwdt and rtc-sh are only supported on SH-3 and SH-4 at
the moment, don't allow them to break the SH-2 and SH-5 (sh64)
builds.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
17 years agosh: push-switch: Correct license string.
Paul Mundt [Wed, 18 Jul 2007 09:54:09 +0000 (18:54 +0900)]
sh: push-switch: Correct license string.

This was accidentally set as "GPLv2", whereas the kernel expects v2
to be written "GPL v2", this caused complaints regarding the use
of the platform device APIs when built as a module.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>
17 years agosh: cpufreq: Fix driver dependencies and flag as broken.
Paul Mundt [Wed, 18 Jul 2007 09:53:09 +0000 (18:53 +0900)]
sh: cpufreq: Fix driver dependencies and flag as broken.

This is only supported on SH-4, so don't expose it for the other
CPUs. Additionally, it's suffered some bitrot, so add a BROKEN
dependency as well until we fix it up.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>