Commit b2f92225 authored by Mauro Carvalho Chehab's avatar Mauro Carvalho Chehab

media: davinci_vpfe: fix a typo for "default"

resizer_set_defualt_configuration -> resizer_set_default_configuration
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@s-opensource.com>
parent 89d4318a
...@@ -794,7 +794,7 @@ resizer_configure_in_single_shot_mode(struct vpfe_resizer_device *resizer) ...@@ -794,7 +794,7 @@ resizer_configure_in_single_shot_mode(struct vpfe_resizer_device *resizer)
} }
static void static void
resizer_set_defualt_configuration(struct vpfe_resizer_device *resizer) resizer_set_default_configuration(struct vpfe_resizer_device *resizer)
{ {
#define WIDTH_I 640 #define WIDTH_I 640
#define HEIGHT_I 480 #define HEIGHT_I 480
...@@ -916,7 +916,7 @@ resizer_set_configuration(struct vpfe_resizer_device *resizer, ...@@ -916,7 +916,7 @@ resizer_set_configuration(struct vpfe_resizer_device *resizer,
struct vpfe_rsz_config *chan_config) struct vpfe_rsz_config *chan_config)
{ {
if (!chan_config->config) if (!chan_config->config)
resizer_set_defualt_configuration(resizer); resizer_set_default_configuration(resizer);
else else
if (copy_from_user(&resizer->config.user_config, if (copy_from_user(&resizer->config.user_config,
chan_config->config, sizeof(struct vpfe_rsz_config_params))) chan_config->config, sizeof(struct vpfe_rsz_config_params)))
......
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