Watch
1
Fork
You've already forked kernel_a52xq
0
mirror of https://github.com/a52xq-dev/kernel.git synced 2026-10-18 21:58:11 +07:00
kernel_a52xq/include/linux/sec_displayport.h
2026-09-27 19:03:59 +07:00

28 lines
980 B
C

/* SPDX-License-Identifier: GPL-2.0-only */
/*
* Copyright (c) 2017-2021, The Linux Foundation. All rights reserved.
*
* This program is free software; you can redistribute it and/or modify
* it under the terms of the GNU General Public License version 2 and
* only version 2 as published by the Free Software Foundation.
*
* This program is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
*/
#ifndef __SEC_DISPLAYPORT_H
#define __SEC_DISPLAYPORT_H
#if IS_ENABLED(CONFIG_SWITCH) || IS_ENABLED(CONFIG_ANDROID_SWITCH)
#define CONFIG_SECDP_SWITCH
#endif
/**
* this function waits for completion of dp disconnection.
* return : zero if dp resource is released completely. non-zero if waiting timeout happens.
*/
int secdp_wait_for_disconnect_complete(void);
#endif/*__SEC_DISPLAYPORT_H*/