ALSA: hda/ca0132 - Fix type of INVALID_CHIP_ADDRESS
authorTakashi Iwai <tiwai@suse.de>
Tue, 12 Feb 2013 09:15:15 +0000 (10:15 +0100)
committerTakashi Iwai <tiwai@suse.de>
Tue, 12 Feb 2013 09:15:15 +0000 (10:15 +0100)
commit4a8b89f99534af1deaae73679797c27e77661ef0
treec7662e6ce9da05086ad478e1f5828e9246e733b8
parentd911149625e64ec3cbc92725a2c2c5d940b62ffb
ALSA: hda/ca0132 - Fix type of INVALID_CHIP_ADDRESS

The chip address is 32bit long but INVALID_CHIP_ADDRESS is defined as
an unsigned long.  This makes dsp_chip_to_dsp_addx() misbehaving on
64bit architectures.  Fix the INVALID_CHIP_ADDRESS definition to be
32bit.

Reported-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/hda/ca0132_regs.h
sound/pci/hda/patch_ca0132.c