* [PATCH 1/2] [media] s5p-jpeg: Use spinlock_t instead of 'struct spinlock'
@ 2012-12-28 10:20 Sachin Kamat
2012-12-28 10:20 ` [PATCH 2/2] [media] s5p-fimc: " Sachin Kamat
2013-01-01 18:21 ` [PATCH 1/2] [media] s5p-jpeg: " Sylwester Nawrocki
0 siblings, 2 replies; 3+ messages in thread
From: Sachin Kamat @ 2012-12-28 10:20 UTC (permalink / raw)
To: linux-media
Cc: andrzej.p, s.nawrocki, sylvester.nawrocki, sachin.kamat, patches
Silences the following checkpatch warning:
WARNING: struct spinlock should be spinlock_t
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
drivers/media/platform/s5p-jpeg/jpeg-core.h | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/media/platform/s5p-jpeg/jpeg-core.h b/drivers/media/platform/s5p-jpeg/jpeg-core.h
index 022b9b9..8a4013e 100644
--- a/drivers/media/platform/s5p-jpeg/jpeg-core.h
+++ b/drivers/media/platform/s5p-jpeg/jpeg-core.h
@@ -62,7 +62,7 @@
*/
struct s5p_jpeg {
struct mutex lock;
- struct spinlock slock;
+ spinlock_t slock;
struct v4l2_device v4l2_dev;
struct video_device *vfd_encoder;
--
1.7.4.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* [PATCH 2/2] [media] s5p-fimc: Use spinlock_t instead of 'struct spinlock'
2012-12-28 10:20 [PATCH 1/2] [media] s5p-jpeg: Use spinlock_t instead of 'struct spinlock' Sachin Kamat
@ 2012-12-28 10:20 ` Sachin Kamat
2013-01-01 18:21 ` [PATCH 1/2] [media] s5p-jpeg: " Sylwester Nawrocki
1 sibling, 0 replies; 3+ messages in thread
From: Sachin Kamat @ 2012-12-28 10:20 UTC (permalink / raw)
To: linux-media
Cc: andrzej.p, s.nawrocki, sylvester.nawrocki, sachin.kamat, patches
Silences the following checkpatch warning:
WARNING: struct spinlock should be spinlock_t
Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org>
---
drivers/media/platform/s5p-fimc/mipi-csis.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/drivers/media/platform/s5p-fimc/mipi-csis.c b/drivers/media/platform/s5p-fimc/mipi-csis.c
index 4c961b1..86c8775 100644
--- a/drivers/media/platform/s5p-fimc/mipi-csis.c
+++ b/drivers/media/platform/s5p-fimc/mipi-csis.c
@@ -187,7 +187,7 @@ struct csis_state {
const struct csis_pix_format *csis_fmt;
struct v4l2_mbus_framefmt format;
- struct spinlock slock;
+ spinlock_t slock;
struct csis_pktbuf pkt_buf;
struct s5pcsis_event events[S5PCSIS_NUM_EVENTS];
};
--
1.7.4.1
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH 1/2] [media] s5p-jpeg: Use spinlock_t instead of 'struct spinlock'
2012-12-28 10:20 [PATCH 1/2] [media] s5p-jpeg: Use spinlock_t instead of 'struct spinlock' Sachin Kamat
2012-12-28 10:20 ` [PATCH 2/2] [media] s5p-fimc: " Sachin Kamat
@ 2013-01-01 18:21 ` Sylwester Nawrocki
1 sibling, 0 replies; 3+ messages in thread
From: Sylwester Nawrocki @ 2013-01-01 18:21 UTC (permalink / raw)
To: Sachin Kamat; +Cc: linux-media, andrzej.p, s.nawrocki, patches
Hi Sachin,
On 12/28/2012 11:20 AM, Sachin Kamat wrote:
> Silences the following checkpatch warning:
> WARNING: struct spinlock should be spinlock_t
>
> Signed-off-by: Sachin Kamat<sachin.kamat@linaro.org>
> ---
> drivers/media/platform/s5p-jpeg/jpeg-core.h | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/drivers/media/platform/s5p-jpeg/jpeg-core.h b/drivers/media/platform/s5p-jpeg/jpeg-core.h
> index 022b9b9..8a4013e 100644
> --- a/drivers/media/platform/s5p-jpeg/jpeg-core.h
> +++ b/drivers/media/platform/s5p-jpeg/jpeg-core.h
> @@ -62,7 +62,7 @@
> */
> struct s5p_jpeg {
> struct mutex lock;
> - struct spinlock slock;
> + spinlock_t slock;
Thank you for these two patches, however there are already similar ones
applied in the media tree:
http://git.linuxtv.org/media_tree.git/commit/a75831f3600c479054fc3f70cd11257ab07886e2
http://git.linuxtv.org/media_tree.git/commit/9d193b758edaad192d05ebcb8dc4cb72711bf618
You were unfortunately a bit too late ;)
Regards,
Sylwester
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-01-01 18:21 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-28 10:20 [PATCH 1/2] [media] s5p-jpeg: Use spinlock_t instead of 'struct spinlock' Sachin Kamat
2012-12-28 10:20 ` [PATCH 2/2] [media] s5p-fimc: " Sachin Kamat
2013-01-01 18:21 ` [PATCH 1/2] [media] s5p-jpeg: " Sylwester Nawrocki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).