[media] solo6x10: Convert to the new PCM ops
authorTakashi Iwai <tiwai@suse.de>
Wed, 10 May 2017 20:20:10 +0000 (22:20 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 2 Jun 2017 17:38:18 +0000 (19:38 +0200)
commit1facf21e8b903524b34f09c39a7d27b4b71a07f7
treeb166d0d0b818cae8646504183dcd9f9c0c01c6b8
parentaa708c613b96c9c3a00a5ba78a203616cab27f86
[media] solo6x10: Convert to the new PCM ops

Replace the copy and the silence ops with the new PCM ops.
The device supports only 1 channel and 8bit sample, so it's always
bytes=frames, and we need no conversion of unit in the callback.
Also, it's a capture stream, thus no silence is needed.

Acked-by: Hans Verkuil <hans.verkuil@cisco.com>
Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
drivers/media/pci/solo6x10/solo6x10-g723.c