rk32 dp: add debugfs for edid

This commit is contained in:
yxj
2014-04-22 21:00:59 +08:00
parent ceba584514
commit deefdc5c55
2 changed files with 2 additions and 7 deletions

View File

@@ -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;
}

View File

@@ -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"