* [GIT PULL FOR 3.8] V4L2 driver for S3C24XX/S3C64XX SoC series camera interface
@ 2012-11-21 21:31 Sylwester Nawrocki
2012-11-21 21:50 ` [GIT PULL FOR v3.8] [RESEND] " Sylwester Nawrocki
2012-11-22 20:49 ` [GIT PULL FOR 3.8] " Sylwester Nawrocki
0 siblings, 2 replies; 3+ messages in thread
From: Sylwester Nawrocki @ 2012-11-21 21:31 UTC (permalink / raw)
To: LMML
Hi Mauro,
The following changes since commit 2c4e11b7c15af70580625657a154ea7ea70b8c76:
[media] siano: fix RC compilation (2012-11-07 11:09:08 +0100)
are available in the git repository at:
git://linuxtv.org/snawrocki/media.git mainline/s3c-camif
This is a V4L2 driver for camera host interface embedded in some
older generation Samsung SoC series - S3C24XX and S3C64XX.
Some more information about the driver can be found in a cover letter
to the first patch version [1].
Sylwester Nawrocki (2):
V4L: Add driver for S3C24XX/S3C64XX SoC series camera interface
MAINTAINERS: Add entry for S3C24XX/S3C64XX SoC CAMIF driver
MAINTAINERS | 8 +
drivers/media/platform/Kconfig | 12 +
drivers/media/platform/Makefile | 1 +
drivers/media/platform/s3c-camif/Makefile | 5 +
drivers/media/platform/s3c-camif/camif-capture.c | 1675
++++++++++++++++++++++
drivers/media/platform/s3c-camif/camif-core.c | 662 +++++++++
drivers/media/platform/s3c-camif/camif-core.h | 393 +++++
drivers/media/platform/s3c-camif/camif-regs.c | 606 ++++++++
drivers/media/platform/s3c-camif/camif-regs.h | 269 ++++
include/media/s3c_camif.h | 45 +
10 files changed, 3676 insertions(+), 0 deletions(-)
create mode 100644 drivers/media/platform/s3c-camif/Makefile
create mode 100644 drivers/media/platform/s3c-camif/camif-capture.c
create mode 100644 drivers/media/platform/s3c-camif/camif-core.c
create mode 100644 drivers/media/platform/s3c-camif/camif-core.h
create mode 100644 drivers/media/platform/s3c-camif/camif-regs.c
create mode 100644 drivers/media/platform/s3c-camif/camif-regs.h
create mode 100644 include/media/s3c_camif.h
[1]
http://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg11849.html
Thanks,
Sylwester
^ permalink raw reply [flat|nested] 3+ messages in thread* [GIT PULL FOR v3.8] [RESEND] V4L2 driver for S3C24XX/S3C64XX SoC series camera interface
2012-11-21 21:31 [GIT PULL FOR 3.8] V4L2 driver for S3C24XX/S3C64XX SoC series camera interface Sylwester Nawrocki
@ 2012-11-21 21:50 ` Sylwester Nawrocki
2012-11-22 20:49 ` [GIT PULL FOR 3.8] " Sylwester Nawrocki
1 sibling, 0 replies; 3+ messages in thread
From: Sylwester Nawrocki @ 2012-11-21 21:50 UTC (permalink / raw)
To: LMML; +Cc: 'Mauro Carvalho Chehab', Sylwester Nawrocki
Hi Mauro,
(resending as it seems the original message didn't make it through
to the mailing list)
The following changes since commit 2c4e11b7c15af70580625657a154ea7ea70b8c76:
[media] siano: fix RC compilation (2012-11-07 11:09:08 +0100)
are available in the git repository at:
git://linuxtv.org/snawrocki/media.git mainline/s3c-camif
This is a V4L2 driver for camera host interface embedded in some
older generation Samsung SoC series - S3C24XX and S3C64XX.
Some more information about the driver can be found in a cover letter
to the first patch version [1].
Sylwester Nawrocki (2):
V4L: Add driver for S3C24XX/S3C64XX SoC series camera interface
MAINTAINERS: Add entry for S3C24XX/S3C64XX SoC CAMIF driver
MAINTAINERS | 8 +
drivers/media/platform/Kconfig | 12 +
drivers/media/platform/Makefile | 1 +
drivers/media/platform/s3c-camif/Makefile | 5 +
drivers/media/platform/s3c-camif/camif-capture.c | 1675
++++++++++++++++++++++
drivers/media/platform/s3c-camif/camif-core.c | 662 +++++++++
drivers/media/platform/s3c-camif/camif-core.h | 393 +++++
drivers/media/platform/s3c-camif/camif-regs.c | 606 ++++++++
drivers/media/platform/s3c-camif/camif-regs.h | 269 ++++
include/media/s3c_camif.h | 45 +
10 files changed, 3676 insertions(+), 0 deletions(-)
create mode 100644 drivers/media/platform/s3c-camif/Makefile
create mode 100644 drivers/media/platform/s3c-camif/camif-capture.c
create mode 100644 drivers/media/platform/s3c-camif/camif-core.c
create mode 100644 drivers/media/platform/s3c-camif/camif-core.h
create mode 100644 drivers/media/platform/s3c-camif/camif-regs.c
create mode 100644 drivers/media/platform/s3c-camif/camif-regs.h
create mode 100644 include/media/s3c_camif.h
[1]
http://www.mail-archive.com/linux-samsung-soc@vger.kernel.org/msg11849.html
Thanks,
Sylwester
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: [GIT PULL FOR 3.8] V4L2 driver for S3C24XX/S3C64XX SoC series camera interface
2012-11-21 21:31 [GIT PULL FOR 3.8] V4L2 driver for S3C24XX/S3C64XX SoC series camera interface Sylwester Nawrocki
2012-11-21 21:50 ` [GIT PULL FOR v3.8] [RESEND] " Sylwester Nawrocki
@ 2012-11-22 20:49 ` Sylwester Nawrocki
1 sibling, 0 replies; 3+ messages in thread
From: Sylwester Nawrocki @ 2012-11-22 20:49 UTC (permalink / raw)
To: LMML; +Cc: Sylwester Nawrocki
Hi Mauro,
On 11/21/2012 10:31 PM, Sylwester Nawrocki wrote:
> The following changes since commit
> 2c4e11b7c15af70580625657a154ea7ea70b8c76:
>
> [media] siano: fix RC compilation (2012-11-07 11:09:08 +0100)
>
> are available in the git repository at:
> git://linuxtv.org/snawrocki/media.git mainline/s3c-camif
I've found a bug and have updated this branch:
The following changes since commit 2c4e11b7c15af70580625657a154ea7ea70b8c76:
[media] siano: fix RC compilation (2012-11-07 11:09:08 +0100)
are available in the git repository at:
git://linuxtv.org/snawrocki/media.git mainline/s3c-camif
Sylwester Nawrocki (2):
V4L: Add driver for S3C24XX/S3C64XX SoC series camera interface
MAINTAINERS: Add entry for S3C24XX/S3C64XX SoC CAMIF driver
MAINTAINERS | 8 +
drivers/media/platform/Kconfig | 12 +
drivers/media/platform/Makefile | 1 +
drivers/media/platform/s3c-camif/Makefile | 5 +
drivers/media/platform/s3c-camif/camif-capture.c | 1672
++++++++++++++++++++++
drivers/media/platform/s3c-camif/camif-core.c | 662 +++++++++
drivers/media/platform/s3c-camif/camif-core.h | 393 +++++
drivers/media/platform/s3c-camif/camif-regs.c | 606 ++++++++
drivers/media/platform/s3c-camif/camif-regs.h | 269 ++++
include/media/s3c_camif.h | 45 +
10 files changed, 3673 insertions(+), 0 deletions(-)
create mode 100644 drivers/media/platform/s3c-camif/Makefile
create mode 100644 drivers/media/platform/s3c-camif/camif-capture.c
create mode 100644 drivers/media/platform/s3c-camif/camif-core.c
create mode 100644 drivers/media/platform/s3c-camif/camif-core.h
create mode 100644 drivers/media/platform/s3c-camif/camif-regs.c
create mode 100644 drivers/media/platform/s3c-camif/camif-regs.h
create mode 100644 include/media/s3c_camif.h
And here is the diff:
diff --git a/drivers/media/platform/s3c-camif/camif-capture.c
b/drivers/media/platform/s3c-camif/camif-capture.c
index ef0b0ed..0812e2e 100644
--- a/drivers/media/platform/s3c-camif/camif-capture.c
+++ b/drivers/media/platform/s3c-camif/camif-capture.c
@@ -599,8 +599,7 @@ static int s3c_camif_close(struct file *file)
pr_debug("[vp%d] state: %#x, owner: %p, pid: %d\n", vp->id,
vp->state, vp->owner, task_pid_nr(current));
- if (mutex_lock_interruptible(&camif->lock))
- return -ERESTARTSYS;
+ mutex_lock(&camif->lock);
if (vp->owner == file->private_data) {
camif_stop_capture(vp);
@@ -624,9 +623,7 @@ static unsigned int s3c_camif_poll(struct file *file,
struct camif_dev *camif = vp->camif;
int ret;
- if (mutex_lock_interruptible(&camif->lock))
- return -ERESTARTSYS;
-
+ mutex_lock(&camif->lock);
if (vp->owner && vp->owner != file->private_data)
ret = -EBUSY;
else
---
Thanks,
Sylwester
^ permalink raw reply related [flat|nested] 3+ messages in thread
end of thread, other threads:[~2012-11-22 20:49 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-21 21:31 [GIT PULL FOR 3.8] V4L2 driver for S3C24XX/S3C64XX SoC series camera interface Sylwester Nawrocki
2012-11-21 21:50 ` [GIT PULL FOR v3.8] [RESEND] " Sylwester Nawrocki
2012-11-22 20:49 ` [GIT PULL FOR 3.8] " Sylwester Nawrocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox