1 // SPDX-License-Identifier: GPL-2.0+
3 * Copyright 2018 Google LLC
4 * Written by Simon Glass <sjg@chromium.org>
11 int i2s_tx_data(struct udevice *dev, void *data, uint data_size)
13 struct i2s_ops *ops = i2s_get_ops(dev);
18 return ops->tx_data(dev, data, data_size);
21 UCLASS_DRIVER(i2s) = {
24 .per_device_auto_alloc_size = sizeof(struct i2s_uc_priv),