ALSA: nm256: Convert to new PCM copy ops
authorTakashi Iwai <tiwai@suse.de>
Wed, 10 May 2017 18:25:17 +0000 (20:25 +0200)
committerTakashi Iwai <tiwai@suse.de>
Fri, 2 Jun 2017 17:37:57 +0000 (19:37 +0200)
commit21de5673663f2620fa2838e4e2ea5db9c91fad4d
tree80f46ff3608d1b1bafe9e01912dbd77434d896a4
parentb96c3a155696eae0a3c08b71f7642ccb1437ac75
ALSA: nm256: Convert to new PCM copy ops

Replace the copy and the silence ops with the new ops.
The conversion is straightforward with standard helper functions, and
now we can drop the bytes <-> frames conversions in callbacks.

Reviewed-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
sound/pci/nm256/nm256.c