diff options
author | Eliot Blennerhassett <eblennerhassett@audioscience.com> | 2011-12-21 19:38:36 -0500 |
---|---|---|
committer | Takashi Iwai <tiwai@suse.de> | 2011-12-22 02:13:00 -0500 |
commit | 8e0874ea72d9dde8d300a5d4d6dfa87238ff7a81 (patch) | |
tree | d423ebcad801fc02f5208ef9da11d3237ce7472b /sound | |
parent | cbd757daf5ed29618214b4ec4e298c79117baa8e (diff) |
ALSA: asihpi - Correct stray capital letters in identifier.
Signed-off-by: Eliot Blennerhassett <eblennerhassett@audioscience.com>
Signed-off-by: Takashi Iwai <tiwai@suse.de>
Diffstat (limited to 'sound')
-rw-r--r-- | sound/pci/asihpi/hpi6205.c | 12 | ||||
-rw-r--r-- | sound/pci/asihpi/hpi_internal.h | 4 |
2 files changed, 8 insertions, 8 deletions
diff --git a/sound/pci/asihpi/hpi6205.c b/sound/pci/asihpi/hpi6205.c index 7f65602ee582..95d1cd5804c0 100644 --- a/sound/pci/asihpi/hpi6205.c +++ b/sound/pci/asihpi/hpi6205.c | |||
@@ -803,8 +803,8 @@ static void outstream_host_buffer_allocate(struct hpi_adapter_obj *pao, | |||
803 | obj_index]; | 803 | obj_index]; |
804 | status->samples_processed = 0; | 804 | status->samples_processed = 0; |
805 | status->stream_state = HPI_STATE_STOPPED; | 805 | status->stream_state = HPI_STATE_STOPPED; |
806 | status->dSP_index = 0; | 806 | status->dsp_index = 0; |
807 | status->host_index = status->dSP_index; | 807 | status->host_index = status->dsp_index; |
808 | status->size_in_bytes = phm->u.d.u.buffer.buffer_size; | 808 | status->size_in_bytes = phm->u.d.u.buffer.buffer_size; |
809 | status->auxiliary_data_available = 0; | 809 | status->auxiliary_data_available = 0; |
810 | 810 | ||
@@ -878,7 +878,7 @@ static void outstream_host_buffer_free(struct hpi_adapter_obj *pao, | |||
878 | static u32 outstream_get_space_available(struct hpi_hostbuffer_status *status) | 878 | static u32 outstream_get_space_available(struct hpi_hostbuffer_status *status) |
879 | { | 879 | { |
880 | return status->size_in_bytes - (status->host_index - | 880 | return status->size_in_bytes - (status->host_index - |
881 | status->dSP_index); | 881 | status->dsp_index); |
882 | } | 882 | } |
883 | 883 | ||
884 | static void outstream_write(struct hpi_adapter_obj *pao, | 884 | static void outstream_write(struct hpi_adapter_obj *pao, |
@@ -1080,8 +1080,8 @@ static void instream_host_buffer_allocate(struct hpi_adapter_obj *pao, | |||
1080 | obj_index]; | 1080 | obj_index]; |
1081 | status->samples_processed = 0; | 1081 | status->samples_processed = 0; |
1082 | status->stream_state = HPI_STATE_STOPPED; | 1082 | status->stream_state = HPI_STATE_STOPPED; |
1083 | status->dSP_index = 0; | 1083 | status->dsp_index = 0; |
1084 | status->host_index = status->dSP_index; | 1084 | status->host_index = status->dsp_index; |
1085 | status->size_in_bytes = phm->u.d.u.buffer.buffer_size; | 1085 | status->size_in_bytes = phm->u.d.u.buffer.buffer_size; |
1086 | status->auxiliary_data_available = 0; | 1086 | status->auxiliary_data_available = 0; |
1087 | 1087 | ||
@@ -1162,7 +1162,7 @@ static void instream_start(struct hpi_adapter_obj *pao, | |||
1162 | 1162 | ||
1163 | static u32 instream_get_bytes_available(struct hpi_hostbuffer_status *status) | 1163 | static u32 instream_get_bytes_available(struct hpi_hostbuffer_status *status) |
1164 | { | 1164 | { |
1165 | return status->dSP_index - status->host_index; | 1165 | return status->dsp_index - status->host_index; |
1166 | } | 1166 | } |
1167 | 1167 | ||
1168 | static void instream_read(struct hpi_adapter_obj *pao, | 1168 | static void instream_read(struct hpi_adapter_obj *pao, |
diff --git a/sound/pci/asihpi/hpi_internal.h b/sound/pci/asihpi/hpi_internal.h index d497030c160f..e5e9e339ff78 100644 --- a/sound/pci/asihpi/hpi_internal.h +++ b/sound/pci/asihpi/hpi_internal.h | |||
@@ -618,7 +618,7 @@ struct hpi_hostbuffer_status { | |||
618 | u32 auxiliary_data_available; | 618 | u32 auxiliary_data_available; |
619 | u32 stream_state; | 619 | u32 stream_state; |
620 | /* DSP index in to the host bus master buffer. */ | 620 | /* DSP index in to the host bus master buffer. */ |
621 | u32 dSP_index; | 621 | u32 dsp_index; |
622 | /* Host index in to the host bus master buffer. */ | 622 | /* Host index in to the host bus master buffer. */ |
623 | u32 host_index; | 623 | u32 host_index; |
624 | u32 size_in_bytes; | 624 | u32 size_in_bytes; |
@@ -1461,7 +1461,7 @@ struct hpi_control_cache_pad { | |||
1461 | /* 2^N sized FIFO buffer (internal to HPI<->DSP interaction) */ | 1461 | /* 2^N sized FIFO buffer (internal to HPI<->DSP interaction) */ |
1462 | struct hpi_fifo_buffer { | 1462 | struct hpi_fifo_buffer { |
1463 | u32 size; | 1463 | u32 size; |
1464 | u32 dSP_index; | 1464 | u32 dsp_index; |
1465 | u32 host_index; | 1465 | u32 host_index; |
1466 | }; | 1466 | }; |
1467 | 1467 | ||