sound: Use the general GpioOps paramater for max98357a
authorXing Zheng <zhengxing@rock-chips.com>
Thu, 19 May 2016 06:44:34 +0000 (14:44 +0800)
committerchrome-bot <chrome-bot@chromium.org>
Thu, 26 May 2016 19:24:52 +0000 (12:24 -0700)
commitff991fed44146bc6aebf8c4c975bca2467047133
tree2816d7b29fe0e82cc1a2e7a54c5789603c39f32e
parent403348a27ba3733fa738e316d9be46d97f402505
sound: Use the general GpioOps paramater for max98357a

Because the GpioCfg is the private structure and only is used on the
Intel platform. The max98357a is a common DAC driver, it should be
referred by any other SoCs. We need to use the GpioOps to instead of it.

BRANCH=none
BUG=chrome-os-partner:52172
TEST=boot kevin rev1, press ctrl+u and hear the beep voice.

Change-Id: I297790ab4eba3f217d2152cc7f45baf51c3ffc3f
Signed-off-by: Xing Zheng <zhengxing@rock-chips.com>
Reviewed-on: https://chromium-review.googlesource.com/345744
Commit-Ready: Vadim Bendebury <vbendeb@chromium.org>
Tested-by: Vadim Bendebury <vbendeb@chromium.org>
Reviewed-by: Vadim Bendebury <vbendeb@chromium.org>
src/board/kunimitsu/board.c
src/board/lars/board.c
src/drivers/sound/max98357a.c
src/drivers/sound/max98357a.h