From 67b0cda76a19c5fc8a0019cfdc4af9006bfad8d5 Mon Sep 17 00:00:00 2001 From: Simon Glass Date: Sat, 16 Feb 2019 20:24:52 -0700 Subject: x86: ivybridge: Add a way to get the HDA config setting Add a way check to whether HD audio is enabled. Use ioctl() to avoid adding too many unusual operations to PCH. Signed-off-by: Simon Glass Reviewed-by: Bin Meng --- include/pch.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'include/pch.h') diff --git a/include/pch.h b/include/pch.h index b8b62d7..046a5fd 100644 --- a/include/pch.h +++ b/include/pch.h @@ -13,6 +13,9 @@ /* All the supported PCH ioctls */ enum pch_req_t { + /* Returns HDA config info if Azalia V1CTL enabled, -ENOENT if not */ + PCH_REQ_HDA_CONFIG, + PCH_REQ_TEST1, /* Test requests for sandbox driver */ PCH_REQ_TEST2, PCH_REQ_TEST3, -- cgit v1.1