summaryrefslogtreecommitdiff
path: root/src/mm_radio_priv_hal.c
diff options
context:
space:
mode:
authorGilbok Lee <gilbok.lee@samsung.com>2020-07-06 17:30:35 +0900
committerGilbok Lee <gilbok.lee@samsung.com>2020-07-09 17:22:05 +0900
commitaea0fe574461ae02f3c52f60f2d0f7d05493925c (patch)
tree00b1d1ad76eb0d739d02f1c680aeb8375f51025a /src/mm_radio_priv_hal.c
parent2dfe2b1f6f7b1b04c6f38778fd04b82749e6cb8d (diff)
downloadlibmm-radio-aea0fe574461ae02f3c52f60f2d0f7d05493925c.tar.gz
libmm-radio-aea0fe574461ae02f3c52f60f2d0f7d05493925c.tar.bz2
libmm-radio-aea0fe574461ae02f3c52f60f2d0f7d05493925c.zip
Fix typo error and remove unnecessary descriptionsubmit/tizen/20201201.011112accepted/tizen/unified/20201202.124951
Change-Id: I3b5aadcb7f53fc519f2bb480f373b17de7537117
Diffstat (limited to 'src/mm_radio_priv_hal.c')
-rw-r--r--src/mm_radio_priv_hal.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mm_radio_priv_hal.c b/src/mm_radio_priv_hal.c
index b4d5f6e..f59e1b7 100644
--- a/src/mm_radio_priv_hal.c
+++ b/src/mm_radio_priv_hal.c
@@ -88,7 +88,7 @@ extern int errno;
---------------------------------------------------------------------------*/
/* radio region configuration table */
static const MMRadioRegion_t region_table[] = {
- { /* Notrh America, South America, South Korea, Taiwan, Australia */
+ { /* North America, South America, South Korea, Taiwan, Australia */
MM_RADIO_REGION_GROUP_USA, /* region type */
MM_RADIO_DEEMPHASIS_75_US, /* de-emphasis */
MM_RADIO_FREQ_MIN_87500_KHZ, /* min freq. */
@@ -358,7 +358,7 @@ int _mmradio_unrealize(mm_radio_t *radio)
if (radio->vstream) {
ret = sound_manager_destroy_virtual_stream(radio->vstream);
if (ret != SOUND_MANAGER_ERROR_NONE) {
- MMRADIO_LOG_WARNING("failed to destory virtual stream information");
+ MMRADIO_LOG_WARNING("failed to destroy virtual stream information");
return MM_ERROR_RADIO_INTERNAL;
}
radio->vstream = NULL;
@@ -366,7 +366,7 @@ int _mmradio_unrealize(mm_radio_t *radio)
if (radio->stream_info) {
ret = sound_manager_destroy_stream_information(radio->stream_info);
if (ret != SOUND_MANAGER_ERROR_NONE) {
- MMRADIO_LOG_WARNING("failed to destory virtual stream information");
+ MMRADIO_LOG_WARNING("failed to destroy virtual stream information");
return MM_ERROR_RADIO_INTERNAL;
}
radio->stream_info = NULL;
@@ -1213,7 +1213,7 @@ static int __mmradio_check_state(mm_radio_t *radio, MMRadioCommand command)
radio_state = __mmradio_get_state(radio);
- MMRADIO_LOG_INFO("incomming command : %d current state : %d", command, radio_state);
+ MMRADIO_LOG_INFO("incoming command : %d current state : %d", command, radio_state);
switch (command) {
case MMRADIO_COMMAND_CREATE:
@@ -1686,7 +1686,7 @@ void __mmradio_msg_thread(mm_radio_t *radio)
while (!p_thread->thread_exit) {
msg = (mm_radio_msg_t *)g_async_queue_pop(radio->msg_queue);
if (!msg) {
- MMRADIO_LOG_ERROR("poped message is NULL!");
+ MMRADIO_LOG_ERROR("popped message is NULL!");
break;
}