From ecd0c5b8f995401cef711b7701b1def213b27843 Mon Sep 17 00:00:00 2001 From: Memphiz Date: Sun, 25 Jan 2015 17:51:02 +0100 Subject: [PATCH 1/2] [WeTek_Play] - fixed typo in aml-kernel / amvideocap (wrong src rect was captured) --- .../linux/140-fix_amvidocap_src_rect_typo.patch | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 projects/WeTek_Play/patches/linux/140-fix_amvidocap_src_rect_typo.patch diff --git a/projects/WeTek_Play/patches/linux/140-fix_amvidocap_src_rect_typo.patch b/projects/WeTek_Play/patches/linux/140-fix_amvidocap_src_rect_typo.patch new file mode 100644 index 0000000000..d4be79a491 --- /dev/null +++ b/projects/WeTek_Play/patches/linux/140-fix_amvidocap_src_rect_typo.patch @@ -0,0 +1,14 @@ +diff --git a/drivers/amlogic/amports/amvideocap.c b/drivers/amlogic/amports/amvideocap.c +index 8d43335..d4b2ccb 100755 +--- a/drivers/amlogic/amports/amvideocap.c ++++ b/drivers/amlogic/amports/amvideocap.c +@@ -275,8 +275,8 @@ static ssize_t amvideocap_YUV_to_RGB(struct amvideocap_private *priv, u32 cur_i + ge2d_config.src_para.x_rev = 0; + ge2d_config.src_para.y_rev = 0; + ge2d_config.src_para.color = 0; +- ge2d_config.src_para.top = input_x; +- ge2d_config.src_para.left = input_y; ++ ge2d_config.src_para.left = input_x; ++ ge2d_config.src_para.top = input_y; + ge2d_config.src_para.width = input_width; + ge2d_config.src_para.height = input_height; From 10535d8b322995705b7303ada23cb291b635b86c Mon Sep 17 00:00:00 2001 From: Memphiz Date: Sun, 25 Jan 2015 17:51:34 +0100 Subject: [PATCH 2/2] [WeTek_Play] - re-add the blue led to the devicetree once more (got lost in move to wetek_play.dtd) --- .../patches/linux/150-add_led_to_devicetree.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 projects/WeTek_Play/patches/linux/150-add_led_to_devicetree.patch diff --git a/projects/WeTek_Play/patches/linux/150-add_led_to_devicetree.patch b/projects/WeTek_Play/patches/linux/150-add_led_to_devicetree.patch new file mode 100644 index 0000000000..bbac3f9101 --- /dev/null +++ b/projects/WeTek_Play/patches/linux/150-add_led_to_devicetree.patch @@ -0,0 +1,12 @@ +--- a/arch/arm/boot/dts/amlogic/wetek_play.dtd 2015-01-25 17:18:35.065137487 +0100 ++++ b/arch/arm/boot/dts/amlogic/wetek_play.dtd 2015-01-25 17:18:09.601138239 +0100 +@@ -1427,4 +1427,9 @@ + reserve-memory = <0x00a00000>; // 1920 * 1088 * 4 = 8,355,840 + reserve-iomap = "true"; + }; ++ ++powerled{ ++ compatible = "amlogic,wetekplay-led"; ++ label = "wetek:blue:powerled"; ++}; + }; /* end of / */