staging: bcm2835-audio: Use PCM runtime values instead
authorTakashi Iwai <tiwai@suse.de>
Tue, 4 Sep 2018 15:58:40 +0000 (17:58 +0200)
committerpopcornmix <popcornmix@gmail.com>
Mon, 13 May 2019 23:08:29 +0000 (00:08 +0100)
commit695e8df4992965e1fa5fc0d4a6df69d0eec8c6e6
tree4c8d3f9e138544d1a98305bcca89b5fc9e082324
parent3f4e7a94ddc039eab203f337dcc1590287aaa1b7
staging: bcm2835-audio: Use PCM runtime values instead

commit b8f7fdd50890b848e085c0519469aed4ff4d9b54 upstream.

Some fields in alsa_stream are the values we keep already in PCM
runtime object, hence they are redundant.  Use the standard PCM
runtime values instead of the private copies.

Signed-off-by: Takashi Iwai <tiwai@suse.de>
Tested-by: Stefan Wahren <stefan.wahren@i2se.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/vc04_services/bcm2835-audio/bcm2835-pcm.c
drivers/staging/vc04_services/bcm2835-audio/bcm2835.h