mirror of
https://github.com/hardkernel/linux.git
synced 2026-06-09 12:17:12 +09:00
video: rockchip: tve: fix compile error and warning
Change-Id: Iacfc54e3f1c01cf3827cbb576d36f64145976bc1 Signed-off-by: Shen Zhenyi <szy@rock-chips.com>
This commit is contained in:
committed by
Gerrit Code Review
parent
035b32d273
commit
a5a28cb9c7
@@ -437,7 +437,6 @@ static int rk3036_tve_probe(struct platform_device *pdev)
|
||||
rk3036_tve->inputformat = INPUT_FORMAT_YUV;
|
||||
} else {
|
||||
dev_err(&pdev->dev, "It is not a valid tv encoder!");
|
||||
kfree(rk3036_tve);
|
||||
return -ENOMEM;
|
||||
}
|
||||
|
||||
|
||||
@@ -125,7 +125,7 @@ enum {
|
||||
|
||||
#define grf_writel(offset, v) do { \
|
||||
writel_relaxed(v, RK_GRF_VIRT + offset); \
|
||||
dsb(); \
|
||||
dsb(sy); \
|
||||
} while (0)
|
||||
|
||||
struct rk3036_tve {
|
||||
|
||||
Reference in New Issue
Block a user