diff options
Diffstat (limited to 'sound/pci/es1968.c')
| -rw-r--r-- | sound/pci/es1968.c | 9 | 
1 files changed, 7 insertions, 2 deletions
diff --git a/sound/pci/es1968.c b/sound/pci/es1968.c index 50169bcfd90..7266020c16c 100644 --- a/sound/pci/es1968.c +++ b/sound/pci/es1968.c @@ -2581,9 +2581,14 @@ static u8 snd_es1968_tea575x_get_pins(struct snd_tea575x *tea)  	struct es1968 *chip = tea->private_data;  	unsigned long io = chip->io_port + GPIO_DATA;  	u16 val = inw(io); +	u8 ret; -	return  (val & STR_DATA) ? TEA575X_DATA : 0 | -		(val & STR_MOST) ? TEA575X_MOST : 0; +	ret = 0; +	if (val & STR_DATA) +		ret |= TEA575X_DATA; +	if (val & STR_MOST) +		ret |= TEA575X_MOST; +	return ret;  }  static void snd_es1968_tea575x_set_direction(struct snd_tea575x *tea, bool output)  |