fsl_spdif: Default to 'no preemphasis'

Signed-off-by: Rudi <r.ihle@s-t.de>
fsl_spdif: Set validity bit according to channel status

Signed-off-by: Rudi <r.ihle@s-t.de>
ASoC: fsl_spdif: Add support for sample rates 88.2kHz through 192kHz

Add support for the sample rates between 48kHz and 192kHz that are also
supported by HDMI: 88.2kHz, 96kHz, 176.4kHz, 192kHz.

TODO: TESTING

Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
ASoC: spdif_transmitter: Allow 192kHz sample rate

Transmitters and receivers may support a 192kHz sample rate.

Tested with Cubox-i imx6 system and Onkyo TX-SR607 receiver.

Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>
ASoC: fsl_spdif: Fix integer overflow when calculating divisor

The calculation code does
u64 = (u32 - u32) * 100000;

The 64 bits are of no help here as the type is casted only after the
multiplication, and therefore the result may overflow, possibly causing
inoptimal or wrong clock setup.

Fix the code to cast before multiplication.

Signed-off-by: Anssi Hannula <anssi.hannula@iki.fi>