From aea0fe574461ae02f3c52f60f2d0f7d05493925c Mon Sep 17 00:00:00 2001 From: Gilbok Lee Date: Mon, 6 Jul 2020 17:30:35 +0900 Subject: Fix typo error and remove unnecessary description Change-Id: I3b5aadcb7f53fc519f2bb480f373b17de7537117 --- src/mm_radio_priv_hal.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/mm_radio_priv_hal.c') 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; } -- cgit v1.2.3