Commit 34bc8f93 authored by Colin Ian King's avatar Colin Ian King Committed by Greg Kroah-Hartman

staging: bcm2835-camera: fix spelling mistake: "elementry" -> "elementary"

trivial fix to spelling mistake in various comments and pr_debug messages
Signed-off-by: default avatarColin Ian King <colin.king@canonical.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 76b4580b
...@@ -160,7 +160,7 @@ struct mmal_msg_port_info_get_reply { ...@@ -160,7 +160,7 @@ struct mmal_msg_port_info_get_reply {
s32 found; /* unused */ s32 found; /* unused */
u32 port_handle; /**< Handle to use for this port */ u32 port_handle; /**< Handle to use for this port */
struct mmal_port port; struct mmal_port port;
struct mmal_es_format format; /* elementry stream format */ struct mmal_es_format format; /* elementary stream format */
union mmal_es_specific_format es; /* es type specific data */ union mmal_es_specific_format es; /* es type specific data */
u8 extradata[MMAL_FORMAT_EXTRADATA_MAX_SIZE]; /* es extra data */ u8 extradata[MMAL_FORMAT_EXTRADATA_MAX_SIZE]; /* es extra data */
}; };
......
...@@ -906,7 +906,7 @@ static void dump_port_info(struct vchiq_mmal_port *port) ...@@ -906,7 +906,7 @@ static void dump_port_info(struct vchiq_mmal_port *port)
port->current_buffer.num, port->current_buffer.num,
port->current_buffer.size, port->current_buffer.alignment); port->current_buffer.size, port->current_buffer.alignment);
pr_debug("elementry stream: type:%d encoding:0x%x variant:0x%x\n", pr_debug("elementary stream: type:%d encoding:0x%x variant:0x%x\n",
port->format.type, port->format.type,
port->format.encoding, port->format.encoding_variant); port->format.encoding, port->format.encoding_variant);
...@@ -970,7 +970,7 @@ static int port_info_set(struct vchiq_mmal_instance *instance, ...@@ -970,7 +970,7 @@ static int port_info_set(struct vchiq_mmal_instance *instance,
port_to_mmal_msg(port, &m.u.port_info_set.port); port_to_mmal_msg(port, &m.u.port_info_set.port);
/* elementry stream format setup */ /* elementary stream format setup */
m.u.port_info_set.format.type = port->format.type; m.u.port_info_set.format.type = port->format.type;
m.u.port_info_set.format.encoding = port->format.encoding; m.u.port_info_set.format.encoding = port->format.encoding;
m.u.port_info_set.format.encoding_variant = m.u.port_info_set.format.encoding_variant =
...@@ -1079,7 +1079,7 @@ static int port_info_get(struct vchiq_mmal_instance *instance, ...@@ -1079,7 +1079,7 @@ static int port_info_get(struct vchiq_mmal_instance *instance,
port->format.bitrate = rmsg->u.port_info_get_reply.format.bitrate; port->format.bitrate = rmsg->u.port_info_get_reply.format.bitrate;
port->format.flags = rmsg->u.port_info_get_reply.format.flags; port->format.flags = rmsg->u.port_info_get_reply.format.flags;
/* elementry stream format */ /* elementary stream format */
memcpy(&port->es, memcpy(&port->es,
&rmsg->u.port_info_get_reply.es, &rmsg->u.port_info_get_reply.es,
sizeof(union mmal_es_specific_format)); sizeof(union mmal_es_specific_format));
......
...@@ -75,7 +75,7 @@ struct vchiq_mmal_port { ...@@ -75,7 +75,7 @@ struct vchiq_mmal_port {
/* stream format */ /* stream format */
struct mmal_es_format_local format; struct mmal_es_format_local format;
/* elementry stream format */ /* elementary stream format */
union mmal_es_specific_format es; union mmal_es_specific_format es;
/* data buffers to fill */ /* data buffers to fill */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment