Kamil Debski | 10 Feb 13:25

[PATCH] s5p-mfc: Added support for clk_prepare

Signed-off-by: Kamil Debski <k.debski <at> samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park <at> samsung.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki <at> samsung.com>
---
 drivers/media/video/s5p-mfc/s5p_mfc_pm.c |   24 ++++++++++++++++++++++--
 1 files changed, 22 insertions(+), 2 deletions(-)

diff --git a/drivers/media/video/s5p-mfc/s5p_mfc_pm.c b/drivers/media/video/s5p-mfc/s5p_mfc_pm.c
index f6a3035..738a607 100644
--- a/drivers/media/video/s5p-mfc/s5p_mfc_pm.c
+++ b/drivers/media/video/s5p-mfc/s5p_mfc_pm.c
@@ -41,15 +41,29 @@ int s5p_mfc_init_pm(struct s5p_mfc_dev *dev)
 	pm->clock_gate = clk_get(&dev->plat_dev->dev, MFC_GATE_CLK_NAME);
 	if (IS_ERR(pm->clock_gate)) {
 		mfc_err("Failed to get clock-gating control\n");
-		ret = -ENOENT;
+		ret = PTR_ERR(pm->clock_gate);
 		goto err_g_ip_clk;
 	}
+
+	ret = clk_prepare(pm->clock_gate);
+	if (ret) {
+		mfc_err("Failed to prepare clock-gating control\n");
+		goto err_p_ip_clk;
+	}
+
 	pm->clock = clk_get(&dev->plat_dev->dev, MFC_CLKNAME);
 	if (IS_ERR(pm->clock)) {
 		mfc_err("Failed to get MFC clock\n");
-		ret = -ENOENT;
(Continue reading)

Kamil Debski | 10 Feb 13:23

[PATCH] s5p-g2d: Added support for clk_prepare

Signed-off-by: Kamil Debski <k.debski <at> samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park <at> samsung.com>
Reviewed-by: Sylwester Nawrocki <s.nawrocki <at> samsung.com>
---
 drivers/media/video/s5p-g2d/g2d.c |   22 ++++++++++++++++++++--
 1 files changed, 20 insertions(+), 2 deletions(-)

diff --git a/drivers/media/video/s5p-g2d/g2d.c b/drivers/media/video/s5p-g2d/g2d.c
index febaa67..351080a 100644
--- a/drivers/media/video/s5p-g2d/g2d.c
+++ b/drivers/media/video/s5p-g2d/g2d.c
@@ -693,18 +693,30 @@ static int g2d_probe(struct platform_device *pdev)
 		goto unmap_regs;
 	}

+	ret = clk_prepare(dev->clk);
+	if (ret) {
+		dev_err(&pdev->dev, "failed to prepare g2d clock\n");
+		goto put_clk;
+	}
+
 	dev->gate = clk_get(&pdev->dev, "fimg2d");
 	if (IS_ERR_OR_NULL(dev->gate)) {
 		dev_err(&pdev->dev, "failed to get g2d clock gate\n");
 		ret = -ENXIO;
-		goto put_clk;
+		goto unprep_clk;
+	}
+
+	ret = clk_prepare(dev->gate);
(Continue reading)

Hans Verkuil | 9 Feb 19:57
Picon
Picon
Favicon

cron job: media_tree daily build: WARNINGS

This message is generated daily by a cron job that builds media_tree for
the kernels and architectures in the list below.

Results of the daily build of media_tree:

date:        Thu Feb  9 19:00:17 CET 2012
git hash:    59b30294e14fa6a370fdd2bc2921cca1f977ef16
gcc version:      i686-linux-gcc (GCC) 4.6.2
host hardware:    x86_64
host os:          3.1-2.slh.1-amd64

linux-git-arm-eabi-enoxys: WARNINGS
linux-git-arm-eabi-omap: WARNINGS
linux-git-armv5-ixp: WARNINGS
linux-git-i686: WARNINGS
linux-git-m32r: WARNINGS
linux-git-mips: WARNINGS
linux-git-powerpc64: WARNINGS
linux-git-x86_64: WARNINGS
linux-2.6.31.12-i686: WARNINGS
linux-2.6.32.6-i686: WARNINGS
linux-2.6.33-i686: WARNINGS
linux-2.6.34-i686: WARNINGS
linux-2.6.35.3-i686: WARNINGS
linux-2.6.36-i686: WARNINGS
linux-2.6.37-i686: WARNINGS
linux-2.6.38.2-i686: WARNINGS
linux-2.6.39.1-i686: WARNINGS
linux-3.0-i686: WARNINGS
linux-3.1-i686: WARNINGS
(Continue reading)

Antti Palosaari | 9 Feb 16:01
Picon
Picon
Favicon

SDR FM demodulation

I have taken radio sniffs from FM capable Realtek DVB-T device. Looks 
like demodulator ADC samples IF frequency and pass all the sampled data 
to the application. Application is then responsible for decoding that. 
Device supports DVB-T, FM and DAB. I can guess  both FM and DAB are 
demodulated by software.

Here is 17 second, 83 MB, FM radio sniff:
http://palosaari.fi/linux/v4l-dvb/rtl2832u_fm/
Decode it and listen some Finnish speak ;)

Could someone help to decode it? I tried GNU Radio, but I failed likely 
because I didn't have enough knowledge... GNU Radio and Octave or Matlab 
are way to go.

I smell very cheap poor man's software radio here :)

regards
Antti
--

-- 
http://palosaari.fi/
postmaster | 9 Feb 07:37
Favicon
Gravatar

Receipt of non conform e-mail

The following e-mail is not conform and has been removed by the SMTP relay of the :
									
Submitter : <linux-media <at> vger.kernel.org> (120.61.153.33)
Subject : "Delivery reports about your e-mail"
Recipient(s) : <michela.beretta <at> lamberti.com>
  Arkoon

Virus found in file michela.beretta <at> lamberti.com.zip (virus W32/MyDoom-O in
michela.beretta <at> lamberti.com.zip/michela.beretta <at> lamberti.com.zip/michela.beretta <at> lamberti.com.html
                                                                               .pif) 

Virus found in file michela.beretta <at> lamberti.com.zip (virus Troj/ZipMal-AW in
michela.beretta <at> lamberti.com.zip/michela.beretta <at> lamberti.com.zip) 

Virus found in file michela.beretta <at> lamberti.com.zip (virus W32/MyDoom-O in
michela.beretta <at> lamberti.com.zip) 

E-mail is infected by a virus, linked files will be removed.

Hans Verkuil | 8 Feb 19:57
Picon
Picon
Favicon

cron job: media_tree daily build: WARNINGS

This message is generated daily by a cron job that builds media_tree for
the kernels and architectures in the list below.

Results of the daily build of media_tree:

date:        Wed Feb  8 19:00:16 CET 2012
git hash:    59b30294e14fa6a370fdd2bc2921cca1f977ef16
gcc version:      i686-linux-gcc (GCC) 4.6.2
host hardware:    x86_64
host os:          3.1-2.slh.1-amd64

linux-git-arm-eabi-enoxys: WARNINGS
linux-git-arm-eabi-omap: WARNINGS
linux-git-armv5-ixp: WARNINGS
linux-git-i686: WARNINGS
linux-git-m32r: WARNINGS
linux-git-mips: WARNINGS
linux-git-powerpc64: WARNINGS
linux-git-x86_64: WARNINGS
linux-2.6.31.12-i686: WARNINGS
linux-2.6.32.6-i686: WARNINGS
linux-2.6.33-i686: WARNINGS
linux-2.6.34-i686: WARNINGS
linux-2.6.35.3-i686: WARNINGS
linux-2.6.36-i686: WARNINGS
linux-2.6.37-i686: WARNINGS
linux-2.6.38.2-i686: WARNINGS
linux-2.6.39.1-i686: WARNINGS
linux-3.0-i686: WARNINGS
linux-3.1-i686: WARNINGS
(Continue reading)

Dr. Fatih Baja | 8 Feb 15:06
Gravatar

(unknown)


Dear Friend,I have a very important and vital information for you which will benefit us and you have to know
about it. Please contact me through my email so we can talk about it; Dr. Fatih Baja

Mile Davidović | 8 Feb 13:24
Picon
Gravatar

Issue with Afatech AF9015 DVB-T USB

Hello
I am currently trying to use Afatech AF9015 DVB-T USB card. Generaly
it is working fine on my PC and MIPS SoC.

Except one part which is currently blocking me:

Currently I am trying to record whole TS using dvbsnoop or dvbstream tool.
It seems that I am unable to stream whole TS using following cmd:
dvbstream 8192

Also: dvbsnoop -s ts -tsraw -crc does not work.
It seems that dvbsnoop is blocked in read ...

I make quick check and it seems that DVB_USB_ADAP_HAS_PID_FILTER is
enabled for this card.

Has anyone succeeded in making Afatech card working in necessary mode?

Thanks in advance
MD
Hans Verkuil | 8 Feb 13:09
Picon
Picon
Favicon

[PATCH] -EINVAL -> -ENOTTY

I found one more place where -EINVAL is used instead of -ENOTTY:

Signed-off-by: Hans Verkuil <hans.verkuil <at> cisco.com>

Note that drivers/media/dvb/dvb-core/dvbdev.c has the same code, but as far as
I can tell DVB is still using -EINVAL for unknown ioctls so I didn't change
that.

Regards,

	Hans

diff --git a/drivers/media/video/v4l2-ioctl.c b/drivers/media/video/v4l2-ioctl.c
index d0d7281..52657fd 100644
--- a/drivers/media/video/v4l2-ioctl.c
+++ b/drivers/media/video/v4l2-ioctl.c
@@ -2421,7 +2421,7 @@ video_usercopy(struct file *file, unsigned int cmd, unsigned long arg,
 	/* Handles IOCTL */
 	err = func(file, cmd, parg);
 	if (err == -ENOIOCTLCMD)
-		err = -EINVAL;
+		err = -ENOTTY;

 	if (has_array_args) {
 		*kernel_ptr = user_ptr;
woody | 8 Feb 10:54
Picon
Gravatar

Cloud server solutions - more stable, powerful, flexible and cheap

Have a nice day

We are one of the top Cloud Solution provider base in Hong Kong, with over 10+ years experience,
we providing better than good and lower cost service of CLoud Hosting (Cloud Server / Hosting / CDN)

Starting at $1.99, let's come to experience and enjoy our powerful cloud system.

Thanks for your time and appreciated to look arround our website.

http://www.dedicatedserver.com.hk/ 

Best Regards,
The 36cloud Team

If you do not wish to further receive this event message, email "subscriber <at> dedicatedserver.com.hk" to
unsubscribe this message or revoe your email from the list.

Bhp Billiton Plc | 8 Feb 05:25
Picon
Gravatar

Notification*

Bhpbilliton require agent contact us if you can handle this position.


Gmane