greybus: gb-audio: Set clock edges to match rt5647 codec requirements
authorMark A. Greer <mgreer@animalcreek.com>
Thu, 21 May 2015 22:54:27 +0000 (15:54 -0700)
committerGreg Kroah-Hartman <gregkh@google.com>
Sat, 23 May 2015 23:13:58 +0000 (16:13 -0700)
commit0e995aab21dc4a74a4e2daca5df027937cb0b975
treee9481304e72ddf5f548083408f45b9b4d6f95b30
parent8d346df0620eaeddfa1333d413596898fa7e576a
greybus: gb-audio: Set clock edges to match rt5647 codec requirements

The rt5647 codec on speaker and mediabar modules require that
the following clock edge settings:

ll_wclk_change_edge GB_I2S_MGMT_EDGE_FALLING
ll_wclk_tx_edge GB_I2S_MGMT_EDGE_RISING
ll_wclk_rx_edge GB_I2S_MGMT_EDGE_FALLING

(Those are the setting that work, at least).  So make the Greybus
audio driver configure the GPBridge with those settings.

Signed-off-by: Mark A. Greer <mgreer@animalcreek.com>
Tested-by: John Stultz <john.stultz@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@google.com>
drivers/staging/greybus/audio-gb-cmds.c