lkml.org 
[lkml]   [2022]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH v2] Input: cros-ec-keyb: Only register keyboard if rows/columns exist
    On Mon, Apr 25, 2022 at 02:07:26PM -0700, Stephen Boyd wrote:
    > If the device is a detachable, we may still probe this device because
    > there are some button switches, e.g. volume buttons and power buttons,
    > registered by this driver. Let's allow the device node to be missing row
    > and column device properties to indicate that the keyboard matrix
    > shouldn't be registered. This removes an input device on Trogdor devices
    > such as Wormdingler that don't have a matrix keyboard, but still have
    > power and volume buttons. That helps userspace understand there isn't
    > a keyboard present when the detachable keyboard is disconnected.
    >
    > Cc: Benson Leung <bleung@chromium.org>
    > Cc: Guenter Roeck <groeck@chromium.org>
    > Cc: Douglas Anderson <dianders@chromium.org>
    > Cc: Hsin-Yi Wang <hsinyi@chromium.org>
    > Signed-off-by: Stephen Boyd <swboyd@chromium.org>

    Applied, thank you.

    --
    Dmitry

    \
     
     \ /
      Last update: 2022-04-27 00:42    [W:2.727 / U:0.036 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site