mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-07 19:30:30 +09:00
ASoC: rk312x_codec: remove references to RK_GRF_VIRT
Change-Id: I43f8ae6beee64a0feaa8a43a1cc3d0ef9e8d0635 Signed-off-by: Tao Huang <huangtao@rock-chips.com>
This commit is contained in:
@@ -22,7 +22,6 @@
|
||||
#include <linux/of_gpio.h>
|
||||
#include <linux/clk.h>
|
||||
#include <linux/io.h>
|
||||
#include <linux/rockchip/iomap.h>
|
||||
#include <linux/rockchip/grf.h>
|
||||
#include <linux/platform_device.h>
|
||||
#include <linux/pm_runtime.h>
|
||||
@@ -2102,7 +2101,7 @@ static void hpdet_work_func(struct work_struct *work)
|
||||
{
|
||||
unsigned int val = 0;
|
||||
|
||||
val = readl_relaxed(RK_GRF_VIRT + GRF_SOC_STATUS0);
|
||||
regmap_read(rk312x_priv->grf, GRF_SOC_STATUS0, &val);
|
||||
DBG("%s GRF_SOC_STATUS0 -- 0x%x\n", __func__, val);
|
||||
if (val & 0x80000000) {
|
||||
DBG("%s hp det high\n", __func__);
|
||||
|
||||
Reference in New Issue
Block a user