diff options
Diffstat (limited to 'mediatek_i2c_spi.c')
-rw-r--r-- | mediatek_i2c_spi.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediatek_i2c_spi.c b/mediatek_i2c_spi.c index 4929fbf9..4133edbc 100644 --- a/mediatek_i2c_spi.c +++ b/mediatek_i2c_spi.c @@ -470,7 +470,7 @@ static int get_params(bool *allow_brick) int ret = 0; *allow_brick = false; /* Default behaviour is to bail. */ - brick_str = extract_programmer_param_str("allow_brick"); + brick_str = extract_programmer_param_str(NULL, "allow_brick"); if (brick_str) { if (!strcmp(brick_str, "yes")) { *allow_brick = true; |