mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
rk32 dp: add debugfs for edid
This commit is contained in:
@@ -1229,13 +1229,12 @@ static int edp_dpcd_debugfs_show(struct seq_file *s, void *v)
|
||||
|
||||
static int edp_edid_debugfs_show(struct seq_file *s, void *v)
|
||||
{
|
||||
int i = 0;
|
||||
unsigned char buf[12];
|
||||
struct rk32_edp *edp = s->private;
|
||||
if (!edp) {
|
||||
dev_err(edp->dev, "no edp device!\n");
|
||||
return -ENODEV;
|
||||
}
|
||||
rk32_edp_read_edid(edp);
|
||||
seq_printf(s,"edid");
|
||||
return 0;
|
||||
}
|
||||
|
||||
@@ -1,8 +1,5 @@
|
||||
/*
|
||||
* Samsung DP (Display port) register interface driver.
|
||||
*
|
||||
* Copyright (C) 2012 Samsung Electronics Co., Ltd.
|
||||
* Author: Jingoo Han <jg1.han@samsung.com>
|
||||
*RockChip DP (Display port) register interface driver.
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or modify it
|
||||
* under the terms of the GNU General Public License as published by the
|
||||
@@ -16,7 +13,6 @@
|
||||
#include <linux/rockchip/cpu.h>
|
||||
#include <linux/rockchip/iomap.h>
|
||||
#include <linux/rockchip/grf.h>
|
||||
|
||||
#include "rk32_dp.h"
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user