blob: acac8d1216b6506505431e9204283dd54b4c36e9 [file] [log] [blame]
// Copyright 2018 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
library fuchsia.hardware.intelhda.codec;
using zx;
@transport("Banjo")
@banjo_layout("ddk-protocol")
closed protocol IhdaCodec {
/// Fetch a zx_handle_t to a channel which can be used to communicate with the codec device.
strict GetDriverChannel() -> (resource struct {
s zx.Status;
channel zx.Handle:CHANNEL;
});
};