]> Git Repo - J-linux.git/blobdiff - drivers/gpu/drm/amd/amdgpu/atom.c
Merge tag 'pinctrl-v6.11-1' of git://git.kernel.org/pub/scm/linux/kernel/git/linusw...
[J-linux.git] / drivers / gpu / drm / amd / amdgpu / atom.c
index d552e013354c956d631f3041b8f8a38a169d05f7..09715b506468df3779423e5bcadd25fbac35b5fa 100644 (file)
@@ -301,7 +301,7 @@ static uint32_t atom_get_src_int(atom_exec_context *ctx, uint8_t attr,
                        (*ptr) += 4;
                        if (print)
                                DEBUG("IMM 0x%08X\n", val);
-                       return val;
+                       break;
                case ATOM_SRC_WORD0:
                case ATOM_SRC_WORD8:
                case ATOM_SRC_WORD16:
@@ -309,7 +309,7 @@ static uint32_t atom_get_src_int(atom_exec_context *ctx, uint8_t attr,
                        (*ptr) += 2;
                        if (print)
                                DEBUG("IMM 0x%04X\n", val);
-                       return val;
+                       break;
                case ATOM_SRC_BYTE0:
                case ATOM_SRC_BYTE8:
                case ATOM_SRC_BYTE16:
@@ -318,9 +318,9 @@ static uint32_t atom_get_src_int(atom_exec_context *ctx, uint8_t attr,
                        (*ptr)++;
                        if (print)
                                DEBUG("IMM 0x%02X\n", val);
-                       return val;
+                       break;
                }
-               break;
+               return val;
        case ATOM_ARG_PLL:
                idx = U8(*ptr);
                (*ptr)++;
This page took 0.026112 seconds and 4 git commands to generate.