lkml.org 
[lkml]   [2021]   [Jul]   [2]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    Patch in this message
    /
    From
    Subject[PATCH v2 3/7] mfd: tqmx86: remove incorrect TQMx90UC board ID
    Date
    No TQMx90UC exists at the moment, and it is undecided whether ID 10 will
    be used eventually (and if it is, how that SoM will be named).

    Fixes: 2f17dd34ffed ("mfd: tqmx86: IO controller with I2C, Wachdog and GPIO")
    Signed-off-by: Matthias Schiffer <matthias.schiffer@ew.tq-group.com>
    ---

    v2: new patch

    drivers/mfd/tqmx86.c | 4 ----
    1 file changed, 4 deletions(-)

    diff --git a/drivers/mfd/tqmx86.c b/drivers/mfd/tqmx86.c
    index 732013f40e4e..9b65dbedc1bb 100644
    --- a/drivers/mfd/tqmx86.c
    +++ b/drivers/mfd/tqmx86.c
    @@ -35,7 +35,6 @@
    #define TQMX86_REG_BOARD_ID_E39x 7
    #define TQMX86_REG_BOARD_ID_70EB 8
    #define TQMX86_REG_BOARD_ID_80UC 9
    -#define TQMX86_REG_BOARD_ID_90UC 10
    #define TQMX86_REG_BOARD_REV 0x21
    #define TQMX86_REG_IO_EXT_INT 0x26
    #define TQMX86_REG_IO_EXT_INT_NONE 0
    @@ -128,8 +127,6 @@ static const char *tqmx86_board_id_to_name(u8 board_id)
    return "TQMx70EB";
    case TQMX86_REG_BOARD_ID_80UC:
    return "TQMx80UC";
    - case TQMX86_REG_BOARD_ID_90UC:
    - return "TQMx90UC";
    default:
    return "Unknown";
    }
    @@ -142,7 +139,6 @@ static int tqmx86_board_id_to_clk_rate(u8 board_id)
    case TQMX86_REG_BOARD_ID_60EB:
    case TQMX86_REG_BOARD_ID_70EB:
    case TQMX86_REG_BOARD_ID_80UC:
    - case TQMX86_REG_BOARD_ID_90UC:
    return 24000;
    case TQMX86_REG_BOARD_ID_E39M:
    case TQMX86_REG_BOARD_ID_E39C:
    --
    2.17.1
    \
     
     \ /
      Last update: 2021-07-02 14:25    [W:3.025 / U:0.544 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site