/*
* drivers\staging\android\switch\switch_hdmiset.c
*
* Copyright (C) 2008 Google, Inc.
* Author: Johnny <liujun@eken.com>
*
* This software is licensed under the terms of the GNU General Public
* License version 2, as published by the Free Software Foundation, and
* may be copied, distributed, and modified under those terms.
*
* 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.
*
*/
#include <linux/module.h>
#include <linux/kernel.h>
#include <linux/init.h>
#include <linux/platform_device.h>
#include <linux/slab.h>
#include <linux/workqueue.h>
#include <linux/gpio.h>
#include "switch.h"
#undef SWITCH_DBG
#if (1)
#define SWITCH_DBG(format,args...) printk("[SWITCH] "format,##arg
基于linux switch模块的HDMI检测状态驱动
最新推荐文章于 2023-11-28 17:41:20 发布
![](https://img-home.csdnimg.cn/images/20240711042549.png)